- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- aCC compilation error.
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
Forums
Discussions
Discussions
Discussions
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
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
06-28-2003 05:25 AM
06-28-2003 05:25 AM
We are getting the following compilation error, when we run "make" on HP K570 Server with HPUX 11.0. But same "make" works fine on HP L2000 Server with HPUX 11.0.
In both cases required binary is built properly and source code is also same.
Can any one throw some light on it.
ERROR Details:
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (BMPSpace.o) was
dete
cted. The linked output may not run on a PA 1.x system.
pxdb32: seek to offset 0 (0) in ../bin/alcatel_traffic_md failed
pxdb32: internal error. File won't be debuggable (still a valid executable)
*** Error exit code 1
Thanks in advance.
Rajesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 05:34 AM
06-28-2003 05:34 AM
Re: aCC compilation error.
Check if you have the same patch level for
ld (linker) on the machines.
Use the swlist for the check
You may find that some patch installed on the L2000 but not on the K570
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 05:46 AM
06-28-2003 05:46 AM
Re: aCC compilation error.
We have the same ld patch level on the both the servers.
i.e.
PHSS_22514 11.0 ld(1) and linker tools cumulative patch
Really strange, what could be other?
Thanks & Regds,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 06:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 10:45 AM
06-28-2003 10:45 AM
Re: aCC compilation error.
Just a thought. There may be some problem with debug flag. Remove the debug flag and try to compile and link. Revert back with details.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 11:01 AM
06-28-2003 11:01 AM
Re: aCC compilation error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2003 01:05 AM
06-29-2003 01:05 AM
Re: aCC compilation error.
Good pointers I gor from you guys.
1. Both servers are 64 Bit (HPUX11.0)
2. When we remove the "-g" flag, it works fine in K-Class also. But, same make file works well with "-g" option on L-Class.
Any more pointers?
Thanks & Regds,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2003 01:48 AM
06-29-2003 01:48 AM
Re: aCC compilation error.
./bin/alcatel_traffic_md failed
My guess is that make can not find the right files, double check your echo $PATH outputs from both servers as Clay suggested.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2003 01:58 AM
06-29-2003 01:58 AM
Re: aCC compilation error.
# what /usr/ccs/bin/ld
http://www2.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHSS_28434
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:04 AM
06-30-2003 12:04 AM
Re: aCC compilation error.
Try the latest pxdb patch PHSS_27983.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:55 AM
06-30-2003 12:55 AM
Re: aCC compilation error.
the L2000 is a PA-2.0 architecture and K570 is a PA-1.x machine.
Therefore you get the error if you want to use newer object files on the older platform.
Every newer machine with PA-RISC 8xxx CPU's is PA-2.0 architecure.
Try adding the switch +DAportable to your Compiler and Linker calls, this will generate
PA-1.0 code which runs on all platforms (even a bit slower on PA-2.0).
Alternatively use seperate builds for every platform...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 01:21 AM
06-30-2003 01:21 AM
Re: aCC compilation error.
So this means somebody is linking PA-1.x code on
one machine and PA-2.0 on the other.
Check the compiler environment/Makefile for any +DA switch.
Maybe you use any third party libraries/archives which
where built on PA-1.x hosts? Or the compiler versions differ?
As stated in the error message the executable is still valid
but does not run on older (PA-7xxx) systems.
So you can live with this error :-)
And you can use +DA2.0 to generate explicitly 2.0 code
if you have access to all modules.
Finally get more information using aCC +help!
Armin