- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linking problem with HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2007 01:09 AM
тАО02-16-2007 01:09 AM
Linking problem with HPUX
When i compile my code it gives me following errors
Can anyone tell me the reason for these errors
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::release()" in file ./release
/mTalkThrTask.o
ld: Unsatisfied symbol "ACE_Thread::getspecific(int, void**)" in file ./release/
mTalk_TSS.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::acquire()" in file ./release
/mTalkThrTask.o
ld: Unsatisfied symbol "ACE_Semaphore::release(unsigned int)" in file ./release/
mTalkThrTask.o
ld: Unsatisfied symbol "ACE_Time_Value::ACE_Time_Value(long, long)" in file ./re
lease/m27_Event.o
ld: Unsatisfied symbol "ACE_Semaphore::acquire()" in file ./release/mTalkThrTask
.o
ld: Unsatisfied symbol "ACE_Reactor::end_event_loop()" in file ./release/mTalkTh
rTask.o
ld: Unsatisfied symbol "ACE_SOCK_Dgram::~ACE_SOCK_Dgram()" in file ./release/m27
_UDPConnection.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::tryacquire_read()" in file .
/release/m27_CriticalSection.o
ld: Unsatisfied symbol "ACE_SOCK_Dgram::ACE_SOCK_Dgram()" in file ./release/m27_
UDPConnection.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::tryacquire_write()" in file
./release/m27_CriticalSection.o
ld: Unsatisfied symbol "mtalkproc_1_svc" in file ./release/mTalk_svc.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::tryacquire()" in file ./rele
ase/m27_CriticalSection.o
ld: Unsatisfied symbol "CreatePersistenceManager()" in file ./release/m27_bof.o
ld: Unsatisfied symbol "localtime_r(long const*, tm*)" in file ./release/mTalkUt
ilities.o
ld: Unsatisfied symbol "mTalk_Main()" in file ./release/mTalk_svc.o
ld: Unsatisfied symbol "typeinfo for biz_ppmProtocolParameter" in file ./release
/biz_cfgConfig.o
ld: Unsatisfied symbol "FreePersistenceManager(i_m27_persistencemgr*)" in file .
/release/m27_bof.o
ld: Unsatisfied symbol "ACE_SOCK_Dgram::recv(void*, unsigned long, ACE_Addr&, in
t) const" in file ./release/m27_UDPConnection.o
ld: Unsatisfied symbol "biz_ppmProtocolParameter::Define_OMM(m27_OMM&, bool, boo
l, bool, bool)" in file ./release/biz_nppNetworkProtocolParameter.o
ld: Unsatisfied symbol "ACE_SOCK_Dgram::send(void const*, unsigned long, ACE_Add
r const&, int) const" in file ./release/m27_UDPConnection.o
ld: Unsatisfied symbol "ACE_Reactor::event_loop_done()" in file ./release/mTalkT
hrTask.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::tryacquire_write_upgrade()"
in file ./release/m27_CriticalSection.o
ld: Unsatisfied symbol "GetLogInterface()" in file ./release/m27_trace.o
ld: Unsatisfied symbol "mtalk_prog_1_freeresult" in file ./release/mTalk_svc.o
ld: Unsatisfied symbol "ACE_Thread_Mutex::release()" in file ./release/mTalk_TSS
.o
ld: Unsatisfied symbol "ACE_Lock::ACE_Lock()" in file ./release/m27_CriticalSect
ion.o
ld: Unsatisfied symbol "MAX_NO_OF_PENDING_REQUEST" in file ./release/m27_MQSerie
sIPC.o
ld: Unsatisfied symbol "ACE_Thread_Mutex::acquire()" in file ./release/mTalk_TSS
.o
ld: Unsatisfied symbol "ACE_Thread::keycreate(int*, void (*)(void*), void*)" in
file ./release/mTalk_TSS.o
ld: Unsatisfied symbol "vtable for biz_ppmProtocolParameter" in file ./release/b
iz_ppmProtocolParameter.o
ld: Unsatisfied symbol "ACE_Thread_Semaphore::~ACE_Thread_Semaphore()" in file .
/release/mTalkThrTask.o
ld: Unsatisfied symbol "ACE_Thread::kill(int, int)" in file ./release/m27_UDPCon
nection.o
ld: Unsatisfied symbol "ACE_Errno_Guard::ACE_Errno_Guard(int&)" in file ./releas
e/mTalk_TSS.o
ld: Unsatisfied symbol "ACE_Thread::setspecific(int, void*)" in file ./release/m
Talk_TSS.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::acquire_read()" in file ./re
lease/m27_CriticalSection.o
ld: Unsatisfied symbol "GLogAppInfo()" in file ./release/m27_FileLog.o
ld: Unsatisfied symbol "ACE_Errno_Guard::~ACE_Errno_Guard()" in file ./release/m
Talk_TSS.o
ld: Unsatisfied symbol "ACE_Thread::spawn(void* (*)(void*), void*, long, int*, i
nt*, long, void*, unsigned long, ACE_Thread_Adapter*)" in file ./release/m27_UDP
Connection.o
ld: Unsatisfied symbol "ACE_Reactor::run_event_loop()" in file ./release/mTalkTh
rTask.o
ld: Unsatisfied symbol "ACE_Recursive_Thread_Mutex::acquire_write()" in file ./r
elease/m27_CriticalSection.o
41 errors.
collect2: ld returned 1 exit status
gmake: *** [release/mTalk] Error 1
galaxy(mtalk):268/home/mtalk/src/unix/mTalk3 >
But when i include -shared option in my makefile it compile successfully and giving no errors but at that time the final output is not executable and it is shared library.
can anyone tell me what option i include in place of -shared in makefile so that it can be executable.........
Thanx a lot
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2007 09:53 AM - edited тАО10-16-2011 03:49 AM
тАО02-16-2007 09:53 AM - edited тАО10-16-2011 03:49 AM
Re: Linking problem with HP-UX
To be executable you need to fix your unsat issues. Where are these functions suppose to be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 03:28 PM
тАО02-18-2007 03:28 PM
Re: Linking problem with HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 02:21 PM - edited тАО10-16-2011 03:49 AM
тАО02-19-2007 02:21 PM - edited тАО10-16-2011 03:49 AM
Re: Linking problem with HP-UX
>I'm not getting what do you means by unsat issue
You are missing certain functions. Where are they suppose to be defined? What source and object file?
And why did you try to create a shared lib?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 03:22 PM
тАО02-19-2007 03:22 PM
Re: Linking problem with HPUX
I dont want to make shared library but i want to check what is the problem so i use option -shared in makefile and it gives no error but when i try to make executable it gives me 41 errors.
And i m not able to find any missing functions let me try again but i suppose i have to mention any option in makefile so that it will not give any error ...
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 06:15 PM - edited тАО10-16-2011 03:48 AM
тАО02-19-2007 06:15 PM - edited тАО10-16-2011 03:48 AM
Re: Linking problem with HP-UX
>I try to make executable it gives me 41 errors.
Then you need to address the unsats and find why you don't have those. Is there an ACE makefile option to remove threading?
If you want to test out your program, even with those errors, you can simply use "chmod a+x your-executable".
You'll probably soon get a dld error of the same type.