[syslinux] Testing COM32 Code

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

More careful analysis of the Makefile reveals that I need to do a "make 
hello.lnx" to generate a linux version of the code. If I add 
"-I../include" to LNXCFLAGS, the linker complains of undefined 
references to symbols found in "console.h".

- Murali
ganapathy murali krishnan wrote:

> 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
> -----SNIP--------
> 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
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.

More information about the Syslinux mailing list