Current lcdproc-0.5.6 doesn't build cleanly with gcc-4.7.
Please consider adding this simple patch
Fix build with gcc47
Can you give an example output of the failing build?
The rendering headers are quite complex to use and all includes have been carefully been selected. Throwing in a 'menuscreens.h' may not be the right solution.
Here is the exact error occuring:
menuitem.c: In function 'menuitem_search':
menuitem.c:130:18: error: 'main_menu' undeclared (first use in this function)
menuitem.c:130:18: note: each undeclared identifier is reported only once for each function it appears in
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -DSYSCONFDIR=\"/etc/lcdproc\" -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wno-unused-function -c menuscreens.c
make: *** [menuitem.o] Error 1
Fixed in CVS. Compiling with --enable-permissive-menu-goto did not work due to a missing reference to the main menu.
Log in to post a comment.