Operating System - HP-UX
1752782 Members
6306 Online
108789 Solutions
New Discussion юеВ

compiling programs on a C240 to target a 735 (with aCC)

 
SOLVED
Go to solution
Russ Frizzell
New Member

compiling programs on a C240 to target a 735 (with aCC)

We are getting the following error when trying to run a program on the 735:

/usr/lib/dld.sl: Unresolved symbol: getrlimit (code) from /usr/lib/libcma.1

We are using the following compiler flags in aCC:

+DA1.1b +DS735

In theory, it should work, since we are specifying the PA-RISC architecture and the model number we are aiming for..

Thanks,
Russ Frizzell
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: compiling programs on a C240 to target a 735 (with aCC)

Hi Russ:

I remember seeing this exact problem with Oracle executables. The answer was to relink on the target machine. I would at least try moving your .o's to the 735 and putting together a small script to do the link. You should be able (as Oracle does) to link using the bundled c compiler/linker.

Hope this helps, Clay

If it ain't broke, I can fix that.
Russ Frizzell
New Member

Re: compiling programs on a C240 to target a 735 (with aCC)

Thanks Clay....good call on the Oracle issue...forgot to mention that.

I also kept you in the dark about our use of C++ instead of C which would inhibit us from using ld on our target machines.

Would it be a better idea to reconcile our OS patches between boxes? If we get our patches to roughly the same level between the 735 and the C240 where libcma.1 matches up, then all we would have to do is relink Oracle and the world will be a better place. In theory. :)

Thanks again,

Russ Frizzell
A. Clay Stephenson
Acclaimed Contributor

Re: compiling programs on a C240 to target a 735 (with aCC)

Hi Russ:

I like Plan B a lot better.
If it ain't broke, I can fix that.