LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2010, 04:49 AM   #1
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu 11.10 Oneiric (Gnome shell Laptop - Fluxbox desktop)
Posts: 106

Rep: Reputation: 15
Conky from source with xmms2


I have been having a play with conky and have hit another hurdle I can't jump. I would like to monitor xmms2 with it and decided un-install the package in synaptic and follow the guide here:-

http://ubuntuforums.org/showthread.php?t=706736

All went well until I ran '$ make' , I got:-
Code:
gregg@burt:~/conky-1.4.9$ make
Making all in src
make[1]: Entering directory `/home/gregg/conky-1.4.9/src'
make  all-am
make[2]: Entering directory `/home/gregg/conky-1.4.9/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
mv -f .deps/common.Tpo .deps/common.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT conky.o -MD -MP -MF .deps/conky.Tpo -c -o conky.o conky.c
mv -f .deps/conky.Tpo .deps/conky.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT fs.o -MD -MP -MF .deps/fs.Tpo -c -o fs.o fs.c
mv -f .deps/fs.Tpo .deps/fs.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT hddtemp.o -MD -MP -MF .deps/hddtemp.Tpo -c -o hddtemp.o hddtemp.c
mv -f .deps/hddtemp.Tpo .deps/hddtemp.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT linux.o -MD -MP -MF .deps/linux.Tpo -c -o linux.o linux.c
mv -f .deps/linux.Tpo .deps/linux.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT top.o -MD -MP -MF .deps/top.Tpo -c -o top.o top.c
mv -f .deps/top.Tpo .deps/top.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT mail.o -MD -MP -MF .deps/mail.Tpo -c -o mail.o mail.c
mv -f .deps/mail.Tpo .deps/mail.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT mixer.o -MD -MP -MF .deps/mixer.Tpo -c -o mixer.o mixer.c
mv -f .deps/mixer.Tpo .deps/mixer.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT libtcp-portmon.o -MD -MP -MF .deps/libtcp-portmon.Tpo -c -o libtcp-portmon.o libtcp-portmon.c
mv -f .deps/libtcp-portmon.Tpo .deps/libtcp-portmon.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT timed_thread.o -MD -MP -MF .deps/timed_thread.Tpo -c -o timed_thread.o timed_thread.c
mv -f .deps/timed_thread.Tpo .deps/timed_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT mboxscan.o -MD -MP -MF .deps/mboxscan.Tpo -c -o mboxscan.o mboxscan.c
mv -f .deps/mboxscan.Tpo .deps/mboxscan.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT x11.o -MD -MP -MF .deps/x11.Tpo -c -o x11.o x11.c
mv -f .deps/x11.Tpo .deps/x11.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\"    -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -MT xmms2.o -MD -MP -MF .deps/xmms2.Tpo -c -o xmms2.o xmms2.c
xmms2.c: In function ‘handle_curent_id’:
xmms2.c:127: warning: implicit declaration of function ‘xmmsc_result_get_uint’
xmms2.c:138: warning: implicit declaration of function ‘xmmsc_result_get_dict_entry_string’
xmms2.c:211: warning: implicit declaration of function ‘xmmsc_result_get_dict_entry_int’
xmms2.c: In function ‘handle_playtime’:
xmms2.c:238: warning: implicit declaration of function ‘xmmsc_result_restart’
xmms2.c:238: warning: assignment makes pointer from integer without a cast
xmms2.c: In function ‘update_xmms2’:
xmms2.c:319: warning: passing argument 2 of ‘xmmsc_result_notifier_set_full’ from incompatible pointer type
/usr/include/xmms2/xmmsclient/xmmsclient.h:348: note: expected ‘xmmsc_result_notifier_t’ but argument is of type ‘void (*)(struct xmmsc_result_t *, void *)’
xmms2.c:320: warning: passing argument 2 of ‘xmmsc_result_notifier_set_full’ from incompatible pointer type
/usr/include/xmms2/xmmsclient/xmmsclient.h:348: note: expected ‘xmmsc_result_notifier_t’ but argument is of type ‘void (*)(struct xmmsc_result_t *, void *)’
xmms2.c:321: warning: passing argument 2 of ‘xmmsc_result_notifier_set_full’ from incompatible pointer type
/usr/include/xmms2/xmmsclient/xmmsclient.h:348: note: expected ‘xmmsc_result_notifier_t’ but argument is of type ‘void (*)(struct xmmsc_result_t *, void *)’
xmms2.c:322: warning: passing argument 2 of ‘xmmsc_result_notifier_set_full’ from incompatible pointer type
/usr/include/xmms2/xmmsclient/xmmsclient.h:348: note: expected ‘xmmsc_result_notifier_t’ but argument is of type ‘void (*)(struct xmmsc_result_t *, void *)’
mv -f .deps/xmms2.Tpo .deps/xmms2.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc  -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -lpthread -lm -Wl,-O1 -o conky   common.o conky.o  fs.o hddtemp.o linux.o top.o mail.o mixer.o   libtcp-portmon.o  timed_thread.o mboxscan.o x11.o xmms2.o  -lrt  -lxmmsclient    -lX11   -lXext   -lXdamage -lXfixes   -lXft   -lglib-2.0  
mkdir .libs
gcc -I/usr/include/xmms2 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -Wl,-O1 -o conky common.o conky.o fs.o hddtemp.o linux.o top.o mail.o mixer.o libtcp-portmon.o timed_thread.o mboxscan.o x11.o xmms2.o  -lpthread -lm -lrt -lxmmsclient -lX11 -lXext -lXdamage -lXfixes -lXft /usr/lib/libglib-2.0.so  
xmms2.o: In function `handle_curent_id':
xmms2.c:(.text+0x310): undefined reference to `xmmsc_result_get_uint'
xmms2.c:(.text+0x371): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x3d8): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x43f): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x4a6): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x50d): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.o:xmms2.c:(.text+0x574): more undefined references to `xmmsc_result_get_dict_entry_string' follow
xmms2.o: In function `handle_curent_id':
xmms2.c:(.text+0x710): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.c:(.text+0x736): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.c:(.text+0x75c): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.c:(.text+0x795): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.o: In function `handle_playtime':
xmms2.c:(.text+0x7f1): undefined reference to `xmmsc_result_get_uint'
xmms2.c:(.text+0x800): undefined reference to `xmmsc_result_restart'
xmms2.o: In function `handle_playback_state_change':
xmms2.c:(.text+0x88f): undefined reference to `xmmsc_result_get_uint'
xmms2.o: In function `update_xmms2':
xmms2.c:(.text+0xc22): undefined reference to `xmmsc_result_get_uint'
collect2: ld returned 1 exit status
make[2]: *** [conky] Error 1
make[2]: Leaving directory `/home/gregg/conky-1.4.9/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gregg/conky-1.4.9/src'
make: *** [all-recursive] Error 1
gregg@burt:~/conky-1.4.9$ make install
Making install in src
make[1]: Entering directory `/home/gregg/conky-1.4.9/src'
/bin/bash ../libtool --tag=CC   --mode=link gcc  -I/usr/include/xmms2         -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -lpthread -lm -Wl,-O1 -o conky   common.o conky.o  fs.o hddtemp.o linux.o top.o mail.o mixer.o   libtcp-portmon.o  timed_thread.o mboxscan.o x11.o xmms2.o  -lrt  -lxmmsclient    -lX11   -lXext   -lXdamage -lXfixes   -lXft   -lglib-2.0  
gcc -I/usr/include/xmms2 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -Wl,-O1 -o conky common.o conky.o fs.o hddtemp.o linux.o top.o mail.o mixer.o libtcp-portmon.o timed_thread.o mboxscan.o x11.o xmms2.o  -lpthread -lm -lrt -lxmmsclient -lX11 -lXext -lXdamage -lXfixes -lXft /usr/lib/libglib-2.0.so  
xmms2.o: In function `handle_curent_id':
xmms2.c:(.text+0x310): undefined reference to `xmmsc_result_get_uint'
xmms2.c:(.text+0x371): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x3d8): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x43f): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x4a6): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.c:(.text+0x50d): undefined reference to `xmmsc_result_get_dict_entry_string'
xmms2.o:xmms2.c:(.text+0x574): more undefined references to `xmmsc_result_get_dict_entry_string' follow
xmms2.o: In function `handle_curent_id':
xmms2.c:(.text+0x710): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.c:(.text+0x736): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.c:(.text+0x75c): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.c:(.text+0x795): undefined reference to `xmmsc_result_get_dict_entry_int'
xmms2.o: In function `handle_playtime':
xmms2.c:(.text+0x7f1): undefined reference to `xmmsc_result_get_uint'
xmms2.c:(.text+0x800): undefined reference to `xmmsc_result_restart'
xmms2.o: In function `handle_playback_state_change':
xmms2.c:(.text+0x88f): undefined reference to `xmmsc_result_get_uint'
xmms2.o: In function `update_xmms2':
xmms2.c:(.text+0xc22): undefined reference to `xmmsc_result_get_uint'
collect2: ld returned 1 exit status
make[1]: *** [conky] Error 1
make[1]: Leaving directory `/home/gregg/conky-1.4.9/src'
make: *** [install-recursive] Error 1
gregg@burt:~/conky-1.4.9$ conky
bash: /usr/bin/conky: No such file or directory
 
Old 06-23-2010, 01:42 PM   #2
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu 11.10 Oneiric (Gnome shell Laptop - Fluxbox desktop)
Posts: 106

Original Poster
Rep: Reputation: 15
Bump
 
Old 06-29-2010, 02:35 PM   #3
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu 11.10 Oneiric (Gnome shell Laptop - Fluxbox desktop)
Posts: 106

Original Poster
Rep: Reputation: 15
Anyone???
 
  


Reply

Tags
conky, xmms2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
conky question: passing conky-variable to shell-script zlin50 Linux - Software 0 11-13-2009 01:44 AM
xmms2 question Strahan Linux - Software 3 05-25-2009 11:22 PM
xmms2 build errors? ninja master Linux - Software 9 03-23-2009 10:08 AM
unique XMMS2 problem bayonetblaha Linux - Software 3 05-10-2006 04:09 PM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration