undefined reference to symbol 'XFlush'

Need help with C, C++, perl, python, etc?

undefined reference to symbol 'XFlush'

Postby jbakshi » 2011-06-23 04:21

Hello,

I like to compile retroval sound applet in my debian testing box. During compilation I get the following error. Could anyone kindly suggest what is missing or howto fix it ?

Code: Select all
make[1]: Entering directory `/home/joy/example/retrovol-0.10/src'
g++  -g -O2   -o retrovol  alsa_classes.o config_settings.o config_window.o eggtrayicon.o main.o retro_slider.o -lasound -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
/usr/bin/ld: eggtrayicon.o: undefined reference to symbol 'XFlush'
/usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [retrovol] Error 1
make[1]: Leaving directory `/home/joy/example/retrovol-0.10/src'
make: *** [check-recursive] Error 1


Thanks
jbakshi
 
Posts: 91
Joined: 2010-08-29 05:38

Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable