[syslinux] linux.c32 doesn't work

H. Peter Anvin hpa at zytor.com
Thu Oct 25 16:55:44 PDT 2007

Wagner Ferenc wrote:
> Sorry, I just can't get it right.  I added a #define DEBUG, but
> linux.c32 stayed the same size: 12588 bytes.  Added -DDEBUG to CFLAGS
> in com32/{lib,modules}/Makefile, nothing again.  I did make clean
> between each try.  How should I change linux.c?  By adding proper
> printf-s here and there?

-DDEBUG=1 is what you want to use.

Anyway, I did get confused -- I added some debugging stuff to 
com32/modules/elf.c (not linux.c); for linux.c the equivalent code 
should go into com32/lib/load_linux.c.


More information about the Syslinux mailing list