
hpa at zytor
Feb 18, 2008, 10:48 AM
Post #2 of 4
(5477 views)
Permalink
|
|
Re: 3.61 and .62-pre10: extlinux compilation problem on Linux 2.4
[In reply to]
|
|
Gabor Z. Papp wrote: > make[1]: Entering directory `/home/gzp/src/syslinux-3.62-pre10/extlinux' > gcc -Wp,-MT,extlinux.o,-MMD,.extlinux.o.d -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -g -Os -I. -I.. -I../libinstaller -c -o > extlinux.o extlinux.c > In file included from /usr/include/linux/vfs.h:4, > from /usr/include/linux/fs.h:14, > from extlinux.c:43: > /usr/include/asm/statfs.h:12: error: redefinition of 'struct statfs' > make[1]: *** [extlinux.o] Error 1 > make[1]: Leaving directory `/home/gzp/src/syslinux-3.62-pre10/extlinux' > make: *** [all] Error 2 > The 2.4 kernel headers "leak" the kernel definition of struct statfs, which differs from glibc's. The 2.4 kernel headers aren't usable as /usr/include/{linux,asm} for this and other reasons. -hpa _______________________________________________ SYSLINUX mailing list Submissions to SYSLINUX [at] zytor Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux Please do not send private replies to mailing list traffic.
|