[syslinux] Testing COM32 Code

ganapathy murali krishnan gmurali at cs.uchicago.edu
Wed Jan 12 14:23:53 PST 2005

How do I go about compiling COM32 code for linux?
Looking at the Makefile in "com32/samples" I presume a "make hello.lo" 
would generate a linux version of the code.
However in my case "make hello.lo" generates the following error

gmurali at buda:samples$ make hello.lo
gcc -W -Wall -O -g -I../libutil/include -c -o hello.lo hello.c
hello.c:23: console.h: No such file or directory
make: *** [hello.lo] Error 1
-----END SNIP------

the file console.h is in "../include/console.h". If I add "-I../include" 
to LNXCFLAGS, then the compilation goes OK. My kernel does not support 
elf binaries so I am not able to execute it. Is there a way to generate 
a.out binaries?

- Murali

More information about the Syslinux mailing list