[syslinux] Problem compiling syslinux-3.0.1

Terry Chan tpchan at comcast.net
Tue Jan 4 07:10:51 PST 2005

I haven't seen this problem mentioned in the syslinux archive yet so here goes:

>From the last few lines of the compile log:

make[1]: Leaving directory `/usr/src/syslinux-3.02-pre2/unix'
make[1]: Entering directory `/usr/src/syslinux-3.02-pre2/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../libfat -c -o extlinux.o extlinux.c
extlinux.c: In function `get_size':
extlinux.c:291: error: `u64' undeclared (first use in this function)
extlinux.c:291: error: (Each undeclared identifier is reported only once
extlinux.c:291: error: for each function it appears in.)
make[1]: *** [extlinux.o] Error 1
make[1]: Leaving directory `/usr/src/syslinux-3.02-pre2/extlinux'
make: *** [installer] Error 2

Linux box, kernel 2.4.28, gcc-3.3.3, glibc-2.3.3, nasm-0.98.38, mtools-3.9.9
AMD64 3000+ cpu.  Please note I am running my kernel and tools in 32bit mode NOT 64bit mode.

Same exact error is generated when trying to compile syslinux-3.02pre2.  Syslinux-2.13 was
the last version of syslinux to successfully compile on this linux box.

After untarring the source I'm using:

make clean
make installer

Please advise if more info is needed for debugging this problem.

Terry Chan

More information about the Syslinux mailing list