HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: C Compiler Errors - Where to go?
Operating System - HP-UX
1833811
Members
3759
Online
110063
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
10-30-2002 01:06 PM
10-30-2002 01:06 PM
I am trying to recompile some source on 11i and it has been running on 10.2 for a few years without problems. When I try to recompile it gives me some PA errors that I have never seen. Has anyone seen this and can you give me some advise as to how to get around it.
-------- Error ----------
$ RunMake
Making atdb.a, testa, querydb.a, testquery and probesql...
rm: libtesta non-existent
rm: libquerydb.a non-existent
rm: testquery non-existent
rm: probesql non-existent
ar vq libatdb.a netinter.o server_c.o
q - netinter.o
q - server_c.o
ar: creating libatdb.a
cc -o testa testa.o libatdb.a /home/ibmprg/autotest/lib/libxmc.a
/home/i
bmprg/autotest/lib/libtcp.a -L/usr/lib -lnsl_s
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (testa.o) was
detecte
d. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
xdr_vector (code)
xdr_double (code)
svc_register (code)
xdr_u_long (code)
clnttcp_create (code)
pmap_unset (code)
xdr_string (code)
pmap_getmaps (code)
xdr_opaque (code)
xdr_int (code)
xdr_u_int (code)
svctcp_create (code)
xdr_long (code)
xdr_short (code)
svc_unregister (code)
get_myaddress (code)
xdr_void (code)
xdr_char (code)
*** Error exit code 1
Stop.
-Scott
-------- Error ----------
$ RunMake
Making atdb.a, testa, querydb.a, testquery and probesql...
rm: libtesta non-existent
rm: libquerydb.a non-existent
rm: testquery non-existent
rm: probesql non-existent
ar vq libatdb.a netinter.o server_c.o
q - netinter.o
q - server_c.o
ar: creating libatdb.a
cc -o testa testa.o libatdb.a /home/ibmprg/autotest/lib/libxmc.a
/home/i
bmprg/autotest/lib/libtcp.a -L/usr/lib -lnsl_s
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (testa.o) was
detecte
d. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
xdr_vector (code)
xdr_double (code)
svc_register (code)
xdr_u_long (code)
clnttcp_create (code)
pmap_unset (code)
xdr_string (code)
pmap_getmaps (code)
xdr_opaque (code)
xdr_int (code)
xdr_u_int (code)
svctcp_create (code)
xdr_long (code)
xdr_short (code)
svc_unregister (code)
get_myaddress (code)
xdr_void (code)
xdr_char (code)
*** Error exit code 1
Stop.
-Scott
Keep it Simple!~
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 01:16 PM
10-30-2002 01:16 PM
Solution
It looks like you need libc_r. My standard method for doing this is:
cd /usr/lib (e.g)
nm lib* > /var/tmp/symlist
Then use vi to search /var/tmp/symlist for any of the symbols. You then "drive up" the file until you see the library name directly above the desired symbol.
cd /usr/lib (e.g)
nm lib* > /var/tmp/symlist
Then use vi to search /var/tmp/symlist for any of the symbols. You then "drive up" the file until you see the library name directly above the desired symbol.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 01:16 PM
10-30-2002 01:16 PM
Re: C Compiler Errors - Where to go?
Looks like you are missing some library files as per the above error messages. Look for the *.a files under /usr/lib directory. You may need to install the full HP ANSI C Complier which is a paid product from HP.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP