64,654
社区成员
发帖
与我相关
我的任务
分享
07:49:46 **** Build of configuration Debug for project ICE_Server ****
make all
Building file: ../Printer.cpp
Invoking: GCC C++ Compiler
g++ -O0 -Wall -c -fmessage-length=0 -MMD -MP -MF"Printer.d" -MT"Printer.d" -o "Printer.o" "../Printer.cpp"
Finished building: ../Printer.cpp
Building file: ../main.cpp
Invoking: GCC C++ Compiler
g++ -O0 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
Finished building: ../main.cpp
Building target: ICE_Server
Invoking: GCC C++ Linker
g++ -Wl,-soname=setargv.obj -o "ICE_Server" ./Printer.o ./main.o -lIce -lIceUtil
/usr/bin/ld: ./Printer.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_mutexattr_settype@@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: *** [ICE_Server] Error 1
07:49:48 Build Finished (took 2s.43ms)