[syslinux] menu(s) won't compile because of missing header file

Patrick Verner exodusrobot at yahoo.com
Wed Jan 16 15:49:56 PST 2008


If you cd to the /menu directory and type 'make' it
fails with this error:

libmenu/help.c:17:57: error: loadfile.h: No such file
or directory
libmenu/help.c: In function 'showhelp':
libmenu/help.c:99: warning: implicit declaration of
function 'loadfile'
make: *** [libmenu/help.o] Error 1

The problem can be averted by adding the proper header
location the file /menu/libmenu/help.c

Line 17 should be:

#include <syslinux/loadfile.h> // to read entire file
into memory

I'm guessing loadfile.h used to be in /com32/include.
:)

Patrick Verner
www.partedmagic.com


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping




More information about the Syslinux mailing list