- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I have a similiar problem on hp 11.0
Operating System - HP-UX
1748000
Members
4508
Online
108757
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
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
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
тАО05-24-2004 08:02 AM
тАО05-24-2004 08:02 AM
I have a similiar problem on hp 11.0
I am trying to compile a shared object on hp 3.3.2.
this has been compiled on multiple other platforms but here I get invalid loader fixup in text space ....
I also get the error
DP relative code in file ..... use +z or +Z to recompile when trying to compile with 2.95.
I have tried both -fpic and -fPIC but no results
this has been compiled on multiple other platforms but here I get invalid loader fixup in text space ....
I also get the error
DP relative code in file ..... use +z or +Z to recompile when trying to compile with 2.95.
I have tried both -fpic and -fPIC but no results
- Tags:
- g++
- PIC
- relocation
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 06:04 PM
тАО05-24-2004 06:04 PM
Re: I have a similiar problem on hp 11.0
your question is not clear. the -fpic and -fPIC are options for gcc. if you are using cc or aCC you should use the +z/+Z options as the message says. remember that these are compiler options (not linker options), so you have to recompile your source files using the appropriate option.
--
ranga
[i work for hpe]
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 06:05 PM
тАО05-24-2004 06:05 PM
Re: I have a similiar problem on hp 11.0
also if you are using the latest cc/aCC you can simply use the '-b' compiler option to build a shared library directly (instead of using ld separately).
--
ranga
[i work for hpe]
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 06:08 PM
тАО05-24-2004 06:08 PM
Re: I have a similiar problem on hp 11.0
ok, I am trying to use gcc/g++ to compile shared object.
the error I am getting talks about +z and +Z and is received when building the shared library.
I have tried compiling both 2.95 and 3.3.2
I have tried buiding a really small application (which uses stl) but I still fail.
I think that the reason is that g++ is compiled with libstdc as shared object.
can I compile shared objects that way ?
Amit
the error I am getting talks about +z and +Z and is received when building the shared library.
I have tried compiling both 2.95 and 3.3.2
I have tried buiding a really small application (which uses stl) but I still fail.
I think that the reason is that g++ is compiled with libstdc as shared object.
can I compile shared objects that way ?
Amit
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