- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Error compiling pro*c thru make in HP-UX
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
Discussions
Discussions
Forums
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
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
тАО04-02-2007 03:39 PM
тАО04-02-2007 03:39 PM
i am compling pro*c in HP-UX with oracle
backend getting following errors,pl help:
Pro*C/C++: Release 9.2.0.4.0 - Production on Tue Apr 3 10:48:45 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /opt/oracle/product/ora92/precomp/admin
/pcscfg.cfg
: C compiler
/usr/ccs/bin/ld: Unsatisfied symbols:
xu_freeall (first referenced in tapin.o) (code)
xd_setp (first referenced in tapin.o) (code)
xu_perror (first referenced in tapin.o) (code)
asn1D_DataInterChange (first referenced in tapin.o) (code)
xcc@ : Compilation Error! ./tapin.c -o ./tapin.exe -I/opt/oracle/product/ora92/p
recomp/public -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/product/ora
92/plsql/public -I/opt/oracle/product/ora92/network/public -L/opt/oracle/product
/ora92/lib32 -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lno
name9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -l:libcl.sl -l:librt.sl -lpthrea
d -l:libnss_dns.1 -l:libdld.sl -lm -lpthread -lpthread -I../inc
*** Error exit code 1
Stop.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 12:15 AM
тАО04-03-2007 12:15 AM
Re: Error compiling pro*c thru make in HP-UX
You do seem to have your object before all of your libs, so -Wl,+n probably wouldn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 02:07 AM
тАО04-03-2007 02:07 AM
Re: Error compiling pro*c thru make in HP-UX
Thanks for ur prompt reply
please let me know how i can compile in this
circumstance, i am using make file
can you gime sample make file for this compilation ,my make file just have information abt main header file used by my programm and abt .pc/.c/.o file, it do not
have any info abt other lib etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 12:44 PM - edited тАО10-07-2011 01:54 AM
тАО04-03-2007 12:44 PM - edited тАО10-07-2011 01:54 AM
Solution>please let me know how I can compile in this circumstance,
Not really. I have no idea whether these symbols are yours or are part of Pro*C??
xu_freeall (tapin.o)(code)
xd_setp
xu_perror
asn1D_DataInterChange
If these are yours, you need to define them. If not, perhaps you forgot a lib at the end of your list?
If you want to search libs, you can do:
$ nm -pxNA path/lib* | fgrep -e xu_freeall -e xd_setp -e xu_perror
And in this case, look for the definitions with "T".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 04:37 PM
тАО04-03-2007 04:37 PM
Re: Error compiling pro*c thru make in HP-UX
nm -pxNA path/lib* | fgrep -e xu_freeall -e xd_setp
i get this error:
nm: path/lib*: cannot open
I want to give some more info:
i am including one header file in my
main.pc file which is calling
(unsatis)xu_freeall etc as extern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 05:09 PM
тАО04-03-2007 05:09 PM
Re: Error compiling pro*c thru make in HP-UX
nm -pxNA path/lib* | fgrep -e xu_freeall
I get following out put:
libasn1ber.a:0x00003a14 T xu_freeall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 05:22 PM
тАО04-03-2007 05:22 PM
Re: Error compiling pro*c thru make in HP-UX
Oops, you were suppose to replace "path" by the path to the libs you want to search.
>I get following output:
libasn1ber.a:0x00003a14 T xu_freeall
Good, you need to add -lasn1ber to your makefile. I assume there is a -L path that matches where you found it?
You should check to make sure the other 3 are there too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 07:11 PM
тАО04-03-2007 07:11 PM
Re: Error compiling pro*c thru make in HP-UX
all 3 unstats there
i tried adding this file ,-lasn1ber to my make file,but still errors
can you give me exact syntax how i can add it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 07:29 PM - edited тАО10-07-2011 01:55 AM
тАО04-03-2007 07:29 PM - edited тАО10-07-2011 01:55 AM
Re: Error compiling pro*c thru make in HP-UX
>I tried adding this file, -lasn1ber to my makefile
Everybody's makefiles are different.
Did you get the same errors?
There should be some make macro with "LIB" in it. You just add: -lasn1ber
This macro would have to be used in the rule that builds tapin.exe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 07:42 PM
тАО04-03-2007 07:42 PM
Re: Error compiling pro*c thru make in HP-UX
Actually i created new make file for running this programm,is there any way i link required file (libasn1ber.a) with programm for resolving error