Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: Ergot on March 08, 2006, 12:10:57 am

Title: Autoconf/Automake/gcc or something...
Post by: Ergot on March 08, 2006, 12:10:57 am
When I try to compile programs, a lot of them fail saying things like

src/comp_rss_xanga.c:30:22: comp_rss.h: No such file or directory
src/comp_rss_xanga.c: In function `parse_xanga_rss':
src/comp_rss_xanga.c:62: error: `rss_parser' undeclared (first use in this function)
src/comp_rss_xanga.c:62: error: (Each undeclared identifier is reported only once
src/comp_rss_xanga.c:62: error: for each function it appears in.)
make: *** [src/comp_rss_xanga.o] Error 1

ge_blist.c: In function `GE_buddy_menu_cb':
ge_blist.c:54: error: `GaimMenuAction' undeclared (first use in this function)
ge_blist.c:54: error: (Each undeclared identifier is reported only once
ge_blist.c:54: error: for each function it appears in.)
ge_blist.c:54: error: `action' undeclared (first use in this function)
ge_blist.c:65: warning: implicit declaration of function `gaim_menu_action_new'
make[2]: *** [ge_blist.lo] Error 1
make[2]: Leaving directory `/home/jimmy/gaim-encryption-3.0beta3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jimmy/gaim-encryption-3.0beta3'
make: *** [all-recursive-am] Error 2

I was able to fix the first one, by adding the ./src directory to the INCLUDE section of Automake. The second one is much more confusing and I can't fix it. I think the problem has to do with autoconf or something... because it's not looking in the current directory for the header files. :\ Any help?
Title: Re: Autoconf/Automake/gcc or something...
Post by: Ergot on March 08, 2006, 07:01:32 pm
Stupid Ergot, install gaim before gaim-encryption.