[syslinux] recompiling syslinux 4.00pre31

H. Peter Anvin hpa at zytor.com
Thu Mar 4 13:25:18 PST 2010


On 03/04/2010 11:20 AM, Thomas Mieslinger wrote:
> Hello,
> 
> I try to recompile syslinux-4.00 pre31 on RHEL5 with gcc-4.1.2 and nasm 
> 2.07.
> 
> Because I'm looking for information about that gpxelinux->chain.c32 hd0 
>   boot problem I added -DDEBUG=2 to com32/lib/Makefile
> 
> I get:
> objdump -h pxelinux.elf > pxelinux.sec
> perl lstadjust.pl pxelinux.lsr pxelinux.sec pxelinux.lst
> objcopy -O binary pxelinux.elf pxelinux.raw
> ../lzo/prepcore pxelinux.raw pxelinux.bin
> ../lzo/prepcore: pxelinux.raw: output too big (29120, max 0)
> make[1]: *** [pxelinux.bin] Error 1
> 
> Would someone please enlight me how to fix this?
> 

Yes, don't recompile the core.  If you do -DDEBUG=2 just do a make in
the com32 directory, not in the whole tree.

	-hpa




More information about the Syslinux mailing list