- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Unresolved symbol: __head (data) from /usr/li...
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
тАО10-09-2006 02:56 AM
тАО10-09-2006 02:56 AM
Unresolved symbol: __head (data) from /usr/lib/libC.2
I am new on HPUX. But I am porting an application from linux to HPUX. And I got an error while trying to start it:
/usr/lib/dld.sl: Unresolved symbol: __head (data) from /usr/lib/libC.2
What is really wrong? I looked on libC and found that __head really undefined.
- Tags:
- cfront
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 03:14 AM
тАО10-09-2006 03:14 AM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
welcome to the ITRC !
Have you seen this previous thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1029240
Also, what step have you used to compile/link your code after moving it from Solaris to HP? What is your environment setup, especially LIB locations?
If this answer was useful, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 04:47 AM
тАО10-09-2006 04:47 AM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
which and the application? In the installation occurred all certainty? Voce had that to compile? if yes the compilation was successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 10:18 AM
тАО10-09-2006 10:18 AM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 06:25 PM
тАО10-09-2006 06:25 PM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
But is it really a HPUX compiler/linker bug? It sounds strange when I add another library and it failes...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 06:52 PM - edited тАО10-24-2011 11:16 AM
тАО10-09-2006 06:52 PM - edited тАО10-24-2011 11:16 AM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
>But is it really a HP-UX compiler/linker bug? It sounds strange when I add another library and it fails.
What more do I need to say besides illegal and obsolete and not supported? ;-)
That obsolete lib requires you to link with the CC driver. Similar to aCC and -lCsup on PA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 08:59 PM
тАО10-09-2006 08:59 PM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
Thanks, Dennis.
What do you mean "CC driver"?
As far as I got aCC is C++ compiler on HPUX. But rather strange...
So, if link with aCC and with -lC what should I also link with? Or whether it is possible to link in this way?
Can you suggest me any information about aCC, cc comopilers on HPUX. They are very different (as I see) comparing with sun's CC and gcc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 10:54 AM
тАО10-10-2006 10:54 AM
Re: Unresolved symbol: __head (data) from /usr/lib/libC.2
CC is the obsolete cfront driver.
>if link with aCC and with -lC what should I also link with?
You should take the default.
>Can you suggest me any information about aCC, cc compilers on HPUX.
There is a man page for each. You can also use the +help option for Online Help. The are also on the web: (for aC++ and IPF C)
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,7862,00.html
For PA C:
http://www.docs.hp.com/en/7763/5991-4871/c_index.html