- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using the c compiler
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
09-19-2001 10:14 AM
09-19-2001 10:14 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:30 AM
09-19-2001 10:30 AM
SolutionYou are breaking the rules, the 10.20 code is compatible on 11x but the converse is not true.
If you have to support both 10.20 and 11x boxes then you must compile on the 10.20 box.
You should also make certain that you compile with +DAportable so that all the PA-RISC processors are supported if you have to run in in PA-7xxx and PA-8xxx world.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 07:38 AM
09-27-2001 07:38 AM
Re: using the c compiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 07:50 AM
09-27-2001 07:50 AM
Re: using the c compiler
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 07:54 AM
09-27-2001 07:54 AM
Re: using the c compiler
If I take you at your word, it can't be library errors - that could only affect the linker or executable if using shared libraries. I suspect you are missing header files because your 2nd 10.20 box does not have a development system on it but simply the bundled C compiler which was intended for building kernels but not much more than that.
If you list a few of the errors, I can tell you for sure.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 10:01 AM
09-27-2001 10:01 AM
Re: using the c compiler
unrecognized HP-UX version: B.11.00 (assuming 10.0 filesystem)
/usr/ccs/bin/ld:Can't find library for -lM
*** Error exit code 1
Stop.
---------------------------------------------
on the 2240 machine, it's somewhat different. the error on it is:
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
/usr/ccs/bin/ld:Can't find library for -lXm
*** Error exit code 1
Stop.
---------------------------------------------
Does that help at all?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 10:21 AM
09-27-2001 10:21 AM
Re: using the c compiler
On the first machine, it can't find a library.
It appears to be looking for /usr/lib/libM.sl or /usr/lib/libM.a unless you hace used the -L cc option to change the linker library search path so that the files need not be in the default /usr/lib directory. However, this also appears to be running 11.00 which is back to your original problem.
-------------------------------------------
The fundamental problem on the 2nd box is that you don't have a development C compiler. It can't find /usr/lib/libXm.sl or /usr/lib/libXm.a.
You need to purchase the ANSI/C compiler.
Clay