Luz

Comment 3 for bug 1093046

Revision history for this message
mr hed (mrhedx) wrote :

this is what the error looks like without libstdc++ in teh linker command
make
for dir in input-manager spectrum-analyzer; do make -C $dir all; done
make[1]: Entering directory `/root/luz/input-manager'
gcc -o input-manager *.cc -pthread -lcwiimote -lportmidi -lporttime -I/usr/include/libcwiimote `pkg-config gtkmm-2.4 unique-1.0 liblo sdl bluez --cflags --libs`
input-joystick.cc: In member function 'virtual void InputJoystick::sleep()':
input-joystick.cc:139:17: error: 'usleep' was not declared in this scope
make[1]: *** [input-manager] Error 1
make[1]: Leaving directory `/root/luz/input-manager'
make[1]: Entering directory `/root/luz/spectrum-analyzer'
gcc -o spectrum-analyzer *.cc -lasound -lm `pkg-config --cflags --libs fftw3 gl glu liblo gtkmm-2.4 gtkglextmm-1.2`
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: /tmp/ccODSvSz.o: undefined reference to symbol '__cxa_begin_catch@@CXXABI_1.3'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: '__cxa_begin_catch@@CXXABI_1.3' is defined in DSO /usr/lib64/libstdc++.so.6 so try adding it to the linker command line
/usr/lib64/libstdc++.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [spectrum-analyzer] Error 1
make[1]: Leaving directory `/root/luz/spectrum-analyzer'
make: *** [all] Error 2