home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:10213 gnu.emacs.help:4056
- Path: sparky!uunet!sun-barr!olivea!sgigate!odin!fido!shankar
- From: shankar@wpd.sgi.com (Shankar Unni)
- Newsgroups: comp.sys.hp,gnu.emacs.help
- Subject: Re: unexec anomally when compiling GNU
- Message-ID: <pl9efrc@fido.asd.sgi.com>
- Date: 9 Sep 92 23:13:35 GMT
- References: <2799@nlsun1.oracle.nl>
- Sender: news@fido.asd.sgi.com (Usenet News Admin)
- Organization: Silicon Graphics, Inc.
- Lines: 14
- X-Newsreader: Tin 1.1 PL5
-
- The Wizard of Ozje - Garf (rlyle@nl.oracle.com) wrote:
-
- > 2) In src/unexhp9k800.c it gives me:
- > cc: "unexhp9k800.c", line 88: error 1539: Cannot do arithmetic with
- > pointers to objects of unknown size.
- >
- > Now, I can make it compile via judicious (unsigned int) casting, but the
- > executable core dumps with the slightest hint of you asking it to run.
-
- No wonder. What was happening was probably arithmetic with (void *).
- You want to convert to (char *), *NOT* (int *).
- --
- Shankar Unni E-Mail: shankar@sgi.com
- Silicon Graphics Inc. Phone: +1-415-390-2072
-