I try to build FGCOM on kUbuntu 13.04 and get this error:
- Code: Select all
Linking CXX executable fgcom
/usr/bin/ld: libiaxclient_lib.a(iaxclient_lib.c.o): undefined reference to symbol 'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/i386-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/i386-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [fgcom] Error 1
make[1]: *** [CMakeFiles/fgcom.dir/all] Error 2
make: *** [all] Error 2
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:36 (FILE):
file INSTALL cannot find
"/SDA1/home/mherweg/fgfs/build/fgcom/CMakeFiles/CMakeRelink.dir/fgcom".