Opened 17 years ago

Closed 17 years ago

#41 closed task (invalid)

elftoaout fails to build with fc5-amd64 host

Reported by: Jeremy Utley Owned by: Joe Ciccone
Priority: major Milestone: CLFS Standard 1.0.0
Component: BOOK Version: CLFS Standard 1.0.0
Keywords: Cc:


when attempting to build elftoaout in section 7.10 of the CLFS sparc multilib book on a FC5 amd64 host system, the build fails:

gcc -O2 -Wall -o elftoaout elftoaout.c In file included from /usr/include/asm/user.h:4,

from /usr/include/asm-x86_64/elf.h:9, from /usr/include/asm/elf.h:4, from /usr/include/linux/elf.h:5, from elftoaout.c:23:

/usr/include/asm-x86_64/user.h:56: error: expected specifier-qualifier-list before 'u64'

Forcing a 32-bit build with make CC="gcc -m32" allowed the build to complete properly

Change History (4)

comment:1 Changed 17 years ago by Jim Gifford

Owner: changed from clfs-commits@… to Joe Ciccone

Assigning Joe to work on this.

comment:2 Changed 17 years ago by Jim Gifford

Version: unstable1.0

comment:3 Changed 17 years ago by Jim Gifford


comment:4 Changed 17 years ago by Joe Ciccone

Resolution: invalid
Status: newclosed

I'm closing this ticket as invalid because the error is comming from the fedora core kernel headers in /usr.

Note: See TracTickets for help on using tickets.