Patrick Verner
2008-Jan-16 23:49 UTC
[syslinux] menu(s) won't compile because of missing header file
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
Murali (முரளி கணபதி)
2008-Jan-18 15:38 UTC
[syslinux] menu(s) won't compile because of missing header file
It would be great if you could send a patch fixing this. - Murali On Jan 17, 2008 5:19 AM, Patrick Verner <exodusrobot at yahoo.com> wrote:> 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 > > _______________________________________________ > 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. > >-- Murali ?????? ????? ????, ???????? ?????? (What we know is only a handful, what we dont is the rest of the world)