[Dbbalancer-users] Can't make 'static'
Status: Alpha
Brought to you by:
xperience
From: Andrew M. <an...@ca...> - 2001-12-22 20:33:06
|
Attempting to build the latest DBBalancer I can't seem to build the statically linked version. c++ -I/usr/local/include -D_REENTRANT -pthread -static -o dbbalancerd.static DBBalancer.o DBBalancerDaemon.o config/DBBalancerTxtConfig.o postgres/DBPostgresPooledConnection.o postgres/DBPostgresWriterConnection.o postgres/DBPostgresBackend.o postgres/DBPostgresFrontend.o conn_pool/DBPool.o conn_pool/DBPoolContainer.o conn_pool/DBPooledConnection.o thread_pool/DBThreadPool.o thread_pool/DBThreadCtlMO.o method_objects/DBDoConnectionMO.o method_objects/DBManagementMO.o -lACE -ldl -lrt /usr/lib/libACE.a(OS.o): In function `ACE_OS::thr_create(void *(*)(void *), void *, long, unsigned long *, unsigned long *, long, void *, unsigned int, ACE_Thread_Adapter *)': OS.o(.text+0xe91): the use of `pthread_attr_setstackaddr' is deprecated, use `pthread_attr_setstack' /usr/lib/libACE.a(Malloc.o): In function `ACE_Based_Pointer_Basic<char>::ACE_Based_Pointer_Basic(void)': Malloc.o(.ACE_Based_Pointer_Basic<char>::gnu.linkonce.t.(void)+0x27): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Malloc.o): In function `ACE_Based_Pointer_Basic<ACE_PI_Control_Block::ACE_Name_Node>::ACE_Based_Pointer_Basic(void)': Malloc.o(.ACE_Based_Pointer_Basic<ACE_PI_Control_Block::ACE_Name_Node>::gnu.linkonce.t.(void) +0x27): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Malloc.o): In function `ACE_Based_Pointer<ACE_PI_Control_Block::ACE_Name_Node>::ACE_Based_Pointer(void)': Malloc.o(.ACE_Based_Pointer<ACE_PI_Control_Block::ACE_Name_Node>::gnu.linkonce.t.(void) +0x27): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Malloc.o): In function `ACE_Based_Pointer_Basic<char>::ACE_Based_Pointer_Basic(char *)': Malloc.o(.ACE_Based_Pointer_Basic<char>::gnu.linkonce.t.(char *)+0x37): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Malloc.o): In function `ACE_Based_Pointer_Basic<ACE_PI_Control_Block::ACE_Name_Node>::ACE_Based_Pointer_Basic(ACE_PI_Control_Block::ACE_Name_Node *)': Malloc.o(.ACE_Based_Pointer_Basic<ACE_PI_Control_Block::ACE_Name_Node>::gnu.linkonce.t.(ACE_PI_Control_Block::ACE_Name_Node *) +0x37): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Malloc.o)(.ACE_Based_Pointer<ACE_PI_Control_Block::ACE_Name_Node>::gnu.linkonce.t.(ACE_PI_Control_Block::ACE_Name_Node *) +0x37): more undefined references to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' follow /usr/lib/libACE.a(Dynamic.o): In function `ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>::instance(void)': Dynamic.o(.ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>::gnu.linkonce.t.instance(void)+0x4f): undefined reference to `ACE_TSS<ACE_Dynamic>::ACE_TSS(ACE_Dynamic *)' Dynamic.o(.ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>::gnu.linkonce.t.instance(void)+0xec): undefined reference to `ACE_TSS<ACE_Dynamic>::ACE_TSS(ACE_Dynamic *)' Dynamic.o(.ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>::gnu.linkonce.t.instance(void)+0x166): undefined reference to `ACE_TSS<ACE_Dynamic>::operator ACE_Dynamic *(void) const' /usr/lib/libACE.a(Dynamic.o): In function `ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>::ACE_TSS_Singleton(void)': Dynamic.o(.ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>::gnu.linkonce.t.(void)+0x1a): undefined reference to `ACE_TSS<ACE_Dynamic>::ACE_TSS(ACE_Dynamic *)' /usr/lib/libACE.a(Memory_Pool.o): In function `ACE_MMAP_Memory_Pool::map_file(long)': Memory_Pool.o(.text+0x692): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Memory_Pool.o): In function `ACE_MMAP_Memory_Pool::release(void)': Memory_Pool.o(.text+0x1958): undefined reference to `ACE_Singleton<ACE_Based_Pointer_Repository, ACE_RW_Thread_Mutex>::instance(void)' /usr/lib/libACE.a(Reactor.o): In function `ACE_Reactor::ACE_Reactor(ACE_Reactor_Impl *, int)': Reactor.o(.text+0x44): undefined reference to `ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Token> >::ACE_Select_Reactor_T(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)' collect2: ld returned 1 exit status make: *** [static] Error 1 -- -------------------------------------------------------------------- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? |