|
我遇到了这种错误,请问是怎么回事?
GNUmakefile: /home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/examples/APG/Shared_Memory/GNUmakefile.Shared_Memory_Hash_Map MAKEFLAGS=w -- buildbits=32
g++ -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -m32 -O3 -g -pipe -pipe -DACE_HAS_LINUX_NPTL -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I../../.. -c -o .obj/Hash_Map.o Hash_Map.cpp
g++ -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -m32 -O3 -g -pipe -pipe -DACE_HAS_LINUX_NPTL -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I../../.. -m32 -Wl,-E -L/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/ace -L./ -L/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/lib -L. -L../../../lib -o Hash_Map .obj/Hash_Map.o -lACE -ldl -lpthread -lrt
.obj/Hash_Map.o: In function `ACE_Based_Pointer_Basic':
/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/ace/Based_Pointer_T.cpp:64: undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance()'
/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/ace/Based_Pointer_T.cpp:64: undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance()'
/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/ace/Based_Pointer_T.cpp:64: undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance()'
/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/ace/Based_Pointer_T.cpp:64: undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance()'
/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/ace/Based_Pointer_T.cpp:64: undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance()'
collect2: ld returned 1 exit status
make[1]: *** [Hash_Map] Error 1
make[1]: Leaving directory `/home/gprs_capture/THIRD_PART/ACE/ACE_wrappers/examples/APG/Shared_Memory'
make: *** [Shared_Memory_Hash_Map] Error 2 |
|