From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4d411db644dc2054,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-09-09 07:40:33 PST From: "G. Hugh Song" Newsgroups: comp.os.linux.alpha Subject: Error in aboot-0.7(a) source Date: Sat, 09 Sep 2000 23:40:26 +0900 Organization: KJIST, KwangJu, KOREA Message-ID: <39BA4BD9.10155B89@nospam.com> NNTP-Posting-Host: lucia.kjist.ac.kr MIME-Version: 1.0 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.18pre1 alpha) X-Accept-Language: en, ko Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!newsfeed.dacom.co.kr!news-xfer.nuri.net!news.nownuri.net!newsfeed.kreonet.re.kr!news.kjist.ac.kr!usenet Xref: supernews.google.com comp.os.linux.alpha:391 During the make, I got: =============================== gcc -I/usr/local/src/aboot-0.7a/include -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c -o head.o head.S gcc -I/usr/local/src/aboot-0.7a/include -I/usr/src/linux/include -D__KERNEL__ -mcpu=ev4 -Os -Wall -mno-fp-regs -ffixed-8 -c -o aboot.o aboot.c aboot.c: In function `first_block': aboot.c:98: invalid type argument of `->' make: *** [aboot.o] Error 1 ================================ I just cannot imagine that the developer of aboot package for Alpha can make such a error in the C source. Unfortunately, I do not know C enough. 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; } ====================================== Would you please debug the above source? Am I using a wrong version of linux/elf.h or something? Thank you very much. -- G. Hugh Song