Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Error in aboot-0.7(a) source
@ 2000-09-09 14:40 G. Hugh Song
  2000-09-09 16:52 ` Michal Jaegermann
  0 siblings, 1 reply; 2+ messages in thread
From: G. Hugh Song @ 2000-09-09 14:40 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-09 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-09 14:40 Error in aboot-0.7(a) source G. Hugh Song
2000-09-09 16:52 ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox