[syslinux] 3.62-pre16: Compiling on old (2.4 kernel) distros

Gilles Espinasse g.esp at free.fr
Tue Feb 26 14:00:15 PST 2008


----- Original Message ----- 
From: "H. Peter Anvin" <hpa at zytor.com>
To: "SYSLINUX mailing list" <syslinux at zytor.com>
Sent: Tuesday, February 26, 2008 6:14 AM
Subject: [syslinux] 3.62-pre16: Compiling on old (2.4 kernel) distros


> I have put a compile hack in for older distros and pushed it out as
> syslinux-3.62-pre16; for those who have reported compilation problem on
> older distros I would greatly appreciate if you could confirm if it
> works now (it worked for me on a CentOS 3.9 VM.)
>
Using linux-2.4.36.1 vanilla kernel, gcc-3.3.1 uClibc with
make clean
make installer
It compile fine and with no warning (gcc-3.3.1) until
gcc   -o extlinux extlinux.o setadv.o extlinux_bss_bin.o extlinux_sys_bin.o
make[2]: Leaving directory `/usr/src/syslinux-3.62-pre16/extlinux'
make[2]: Entering directory `/usr/src/syslinux-3.62-pre16/sample'
pngtopnm syslogo.png | \
 ../ppmtolss16 \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
 > syslogo.lss
/bin/sh: line 1: pngtopnm: command not found

Using with nasm-0.98.39
make clean
make
there is only this warning twice
In file included from stdio.h:5,
                 from argv.c:37:
stdlib.h:7: warning: redefinition of `size_t'
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/include/stddef.h:213: warning:
`size_t' previously declared here

Then it similary fail because pngtopnm is not available.


Using one sed to not depend on pngtopnm,
sed -i -e 's/all: syslogo.lss /all: /' sample/Makefile
compilation is successfull but there is some compilation warnings.

Gilles




More information about the Syslinux mailing list