From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4d411db644dc2054 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-09-09 10:00:42 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!cyclone.bc.net!rover.ucs.ualberta.ca!michal From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Newsgroups: comp.os.linux.alpha Subject: Re: Error in aboot-0.7(a) source Date: 9 Sep 2000 16:52:13 GMT Organization: Disorganized Bits Message-ID: <8pdprt$gm0$2@pulp.srv.ualberta.ca> References: <39BA4BD9.10155B89@nospam.com> Reply-To: michal@phys.ualberta.ca NNTP-Posting-Host: gortel.phys.ualberta.ca X-Newsreader: TIN [version 1.2 PL2] Xref: supernews.google.com comp.os.linux.alpha:394 G. Hugh Song (ghsong@nospam.com) wrote: : aboot.c : aboot.c: In function `first_block': : aboot.c:98: invalid type argument of `->' : make: *** [aboot.o] Error 1 Something got very confused. Probably by some weird macro expansion. : The segment of aboot.c is as follows: : ======================================== : if (!elf_check_arch(elf->e_machine)) { : printf("aboot: ELF executable not for this machine\n"); : return -1; : } : ====================================== The fragment looks innocent enough. Probably you have somehow messed up headers. You can try check that with a help of an '-E' flag to your compiler by checking a captured output. : Would you please debug the above source? ??? : Am I using a wrong version of linux/elf.h or something? Probably. Likely "something". A recompiled source and binary rpm packages of aboot 0.7a for alpha, plus a minor fix, can be retrieved from ftp://ftp.harddata.com/pub/aboot* Michal