ishow99 发表于 2009-6-1 16:01:28

AIX5.3下编译成功,但连接失败

xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX   -c -o BaseServer21/Config.o BaseServer21/Config.cpp
xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX   -c -o BaseServer21/ScheduleHandler.o BaseServer21/ScheduleHandler.cpp
xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX   -c -o BaseServer21/Server21.o BaseServer21/Server21.cpp
xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX   -c -o BaseServer21/TaskRecv.o BaseServer21/TaskRecv.cpp
xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX   -c -o BaseServer21/TaskSend.o BaseServer21/TaskSend.cpp
xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX   -c -o BaseServer21/BaseServer21.o BaseServer21/BaseServer21.cpp
xlC_r -O0 -g -q64 -I/home/fjsvc/libs/ACE_wrappers -DAIX ./BaseServer21/Config.o ./BaseServer21/ScheduleHandler.o ./BaseServer21/Server21.o ./BaseServer21/TaskRecv.o ./BaseServer21/TaskSend.o ./BaseServer21/BaseServer21.o-L/home/fjsvc/libs/ACE_wrappers/ace -lACE-o bin/BaseServer21
"/home/fjsvc/libs/ACE_wrappers/ace/Message_Queue_T.h", line 602.25: 1540-1118 (S) The declaration of "not_empty_cond_" uses the undefined class "ACE_Condition_Thread_Mutex" when the class must be complete.
"tempinc/Message_Queue_T.C", line 5.14: 1540-0700 (I) The previous message was produced while processing "class ACE_Message_Queue<ACE_MT_SYNCH>".
"/home/fjsvc/libs/ACE_wrappers/ace/Synch_Traits.h", line 79.18: 1540-0700 (I) The previous message was produced while processing "class ACE_MT_SYNCH".
"tempinc/Message_Queue_T.C", line 5.14: 1540-0401 (S) The member "ACE_Message_Queue<class ACE_MT_SYNCH>::open(unsigned long, unsigned long, ACE_Notification_Strategy *)" is already declared.
"/home/fjsvc/libs/ACE_wrappers/ace/Message_Queue_T.h", line 103.15: 1540-0424 (I) "open" is declared on line 103 of "/home/fjsvc/libs/ACE_wrappers/ace/Message_Queue_T.h".
"tempinc/Message_Queue_T.C", line 6.10: 1540-0401 (S) The member "ACE_Message_Queue<class ACE_MT_SYNCH>::ACE_Message_Queue(unsigned long, unsigned long, ACE_Notification_Strategy *)" is already declared.
"/home/fjsvc/libs/ACE_wrappers/ace/Message_Queue_T.h", line 100.3: 1540-0424 (I) "ACE_Message_Queue" is declared on line 100 of "/home/fjsvc/libs/ACE_wrappers/ace/Message_Queue_T.h".
xlC_r: 1501-240 Previous errors were found when compiling tempinc/Message_Queue_T.C
gmake: *** Error 1这是为什么?
页: [1]
查看完整版本: AIX5.3下编译成功,但连接失败