hi all,
 
I have this problem : when i compile irmp3 without the lirc module , i can do it with -static in the EXTRA_LDFLAGS and that is ok. But,
if i uncomment the lirc module and compile it static , it dosent work.. for my use, i need the lirc module and i need it to be static.
 
here is the prinout of the problem when i use the -static.
 
anyone could help ??
 
thanks,
 
Jeff C.
 
gcc -g -static -llirc_client -o irmp3 irmp3.o tools.o log.o config.o mod.o mod_mpg123.o mod_playlist.o mod_playlistlist.o mod_mixer.o mod_env.o mod_timer.o mod_lirc.o mod_lcdproc.o mod_idle.o mod_debug.o
mod_lirc.o: In function `mod_lirc_poll':
/usr/src/irmp3/mod_lirc.c:55: undefined reference to `lirc_nextcode'
/usr/src/irmp3/mod_lirc.c:59: undefined reference to `lirc_code2char'
mod_lirc.o: In function `mod_lirc_init':
/usr/src/irmp3/mod_lirc.c:90: undefined reference to `lirc_init'
/usr/src/irmp3/mod_lirc.c:99: undefined reference to `lirc_readconfig'
/usr/src/irmp3/mod_lirc.c:100: undefined reference to `lirc_deinit'
mod_lirc.o: In function `mod_lirc_deinit':
/usr/src/irmp3/mod_lirc.c:118: undefined reference to `lirc_freeconfig'
/usr/src/irmp3/mod_lirc.c:121: undefined reference to `lirc_deinit'
mod_lirc.o: In function `mod_lirc_reload':
/usr/src/irmp3/mod_lirc.c:136: undefined reference to `lirc_freeconfig'
/usr/src/irmp3/mod_lirc.c:139: undefined reference to `lirc_readconfig'
collect2: ld returned 1 exit status
make: *** [irmp3] Error 1