|
楼主 |
发表于 2007-12-19 22:11:39
|
显示全部楼层
现在的进展是,我到tests下,运行make,提示如下:
make[1]: Entering directory `/home/tqg/ACE-5.5/ACE_wrappers/tests'
GNUmakefile: /home/tqg/ACE-5.5/ACE_wrappers/tests/GNUmakefile.Test_Output MAKEFLAGS=w
Installing libTest_Output.so -> ../lib
Installing libTest_Output.so.5.5.0 -> ../lib
make[1]: Leaving directory `/home/tqg/ACE-5.5/ACE_wrappers/tests'
make[1]: Entering directory `/home/tqg/ACE-5.5/ACE_wrappers/tests'
GNUmakefile: /home/tqg/ACE-5.5/ACE_wrappers/tests/GNUmakefile.MT_Reactor_Upcall_Test MAKEFLAGS=w
g++ -W -Wall -Wpointer-arith -O3 -g -pipe -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/tqg/ACE-5.5/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I.. -Wl,-E -L/home/tqg/ACE-5.5/ACE_wrappers/ace -L./ -L. -L../lib -o MT_Reactor_Upcall_Test .obj/Main.o .obj/MT_Reactor_Upcall_Test.o -lTest_Output -lACE -ldl -lpthread -lrt
.obj/MT_Reactor_Upcall_Test.o(.text+0xbca): In function `run_main(int, char**)':
/home/tqg/ACE-5.5/ACE_wrappers/tests/MT_Reactor_Upcall_Test.cpp:338: undefined reference to `ACE_Dev_Poll_Reactor::ACE_Dev_Poll_Reactor(ACE_Sig_Handler*, ACE_Timer_Queue_T<ACE_Event_Handler*, ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Recursive_Thread_Mutex>, ACE_Recursive_Thread_Mutex>*, int, ACE_Reactor_Notify*, int, int)'
.obj/MT_Reactor_Upcall_Test.o(.text+0xc5b):/home/tqg/ACE-5.5/ACE_wrappers/tests/MT_Reactor_Upcall_Test.cpp:366: undefined reference to `ACE_Dev_Poll_Reactor::~ACE_Dev_Poll_Reactor()'
.obj/MT_Reactor_Upcall_Test.o(.text+0xd19):/home/tqg/ACE-5.5/ACE_wrappers/tests/MT_Reactor_Upcall_Test.cpp:366: undefined reference to `ACE_Dev_Poll_Reactor::~ACE_Dev_Poll_Reactor()'
collect2: ld returned 1 exit status
make[1]: *** [MT_Reactor_Upcall_Test] Error 1
make[1]: Leaving directory `/home/tqg/ACE-5.5/ACE_wrappers/tests'
make: *** [MT_Reactor_Upcall_Test] Error 2
可以发现应该是编译的ACE库的时候,epoll的功能没有被加入? |
|