Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "G. Hugh Song" <ghsong@nospam.com>
Subject: Error in aboot-0.7(a) source
Date: Sat, 09 Sep 2000 23:40:26 +0900	[thread overview]
Message-ID: <39BA4BD9.10155B89@nospam.com> (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



             reply	other threads:[~2000-09-09 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-09 14:40 G. Hugh Song [this message]
2000-09-09 16:52 ` Error in aboot-0.7(a) source Michal Jaegermann
read-only archive

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