- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- link errors on HP-UX B.11.22 U ia64
Operating System - Linux
1748227
Members
4380
Online
108759
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-17-2003 02:20 AM
04-17-2003 02:20 AM
link errors on HP-UX B.11.22 U ia64
Hi group,
I am building an application linking almost 250 static libraries (my own .a libraries) and the standard shared libraires (-lc -lMrm -lXm -lXt -lXext -lGL -lGLU -lXmu -lX11 -lm -lpthread)
The source 'c' files are compiled (to get the archieves) using cc and linked using aCC.
I could build the version successfully on a HP-UX 11.11 PA-RISC system, but I am getting the following errors while linking on the said itanium based system.
ld: The value 0xffffffffffd74fa8 does not fit when applying the relocation PLTOFF22 for symbol "sprintf" at offset 0x22 in section index 17 of file ../../hplib/libScript.a[vscrsyut.o]
ld: The value 0xffffffffffd74938 does not fit when applying the relocation PLTOFF22 for symbol "malloc" at offset 0xb2 in section index 17 of file ../../hplib/libScript.a[vscrsyut.o]
I am getting 56912 of such errors for both standard library symols like sprintf, fclose, malloc ... and also my own functions.
Please help me out.
I am using A.05.36 version compiler.
Also I am using the following compile and link options.
-Aa -Ae +Z -O +Oprocelim +Ofastaccess +Ofast +eh +Z -z +d
-s -Wl,+s
TIA
satya
I am building an application linking almost 250 static libraries (my own .a libraries) and the standard shared libraires (-lc -lMrm -lXm -lXt -lXext -lGL -lGLU -lXmu -lX11 -lm -lpthread)
The source 'c' files are compiled (to get the archieves) using cc and linked using aCC.
I could build the version successfully on a HP-UX 11.11 PA-RISC system, but I am getting the following errors while linking on the said itanium based system.
ld: The value 0xffffffffffd74fa8 does not fit when applying the relocation PLTOFF22 for symbol "sprintf" at offset 0x22 in section index 17 of file ../../hplib/libScript.a[vscrsyut.o]
ld: The value 0xffffffffffd74938 does not fit when applying the relocation PLTOFF22 for symbol "malloc" at offset 0xb2 in section index 17 of file ../../hplib/libScript.a[vscrsyut.o]
I am getting 56912 of such errors for both standard library symols like sprintf, fclose, malloc ... and also my own functions.
Please help me out.
I am using A.05.36 version compiler.
Also I am using the following compile and link options.
-Aa -Ae +Z -O +Oprocelim +Ofastaccess +Ofast +eh +Z -z +d
-s -Wl,+s
TIA
satya
- Tags:
- relocation
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 09:30 PM
03-08-2006 09:30 PM
Re: link errors on HP-UX B.11.22 U ia64
It is possible the problem is due to +Ofast which used to set +Oshortdata. You should be able to fix the problem by adding +Oshortdata=8 or going to 11.23 by now. :-)
- Tags:
- +Oshortdata
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP