oakgrove
July 9th, 2010, 10:05 AM
I'm running Ubuntu 10.04 and I'm trying to compile lxpanel with a slight adjustment but everytime I do ./configure and make, it errors out with this:
batt.c:98: error: ‘alarm’ redeclared as different kind of symbol
/usr/include/unistd.h:429: note: previous declaration of ‘alarm’ was here
batt.c: In function ‘alarmProcess’:
batt.c:109: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
make[4]: *** [batt.lo] Error 1
make[4]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5/src/plugins/batt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5'
make: *** [all] Error 2
I've tried several different release numbers of lxpanel both from the repository and the project's sourceforge page and I've tried it with and without patching all with the same result. I also made sure to compile and install menu-cache and lxmenu-data packages first but nothing seems to be working. Any help would be appreciated.
batt.c:98: error: ‘alarm’ redeclared as different kind of symbol
/usr/include/unistd.h:429: note: previous declaration of ‘alarm’ was here
batt.c: In function ‘alarmProcess’:
batt.c:109: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
make[4]: *** [batt.lo] Error 1
make[4]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5/src/plugins/batt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/250Gig/nate/new_programs/source/lxpanel-0.5.5'
make: *** [all] Error 2
I've tried several different release numbers of lxpanel both from the repository and the project's sourceforge page and I've tried it with and without patching all with the same result. I also made sure to compile and install menu-cache and lxmenu-data packages first but nothing seems to be working. Any help would be appreciated.