<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error compiling pro*c thru make in HP-UX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973962#M95553</link>
    <description>&amp;gt;Thanks for your help... and was able to resolve the problem&lt;BR /&gt;&lt;BR /&gt;If you have gotten your answers, you should read my previous reply about:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
    <pubDate>Wed, 11 Apr 2007 01:50:41 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-04-11T01:50:41Z</dc:date>
    <item>
      <title>Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973927#M95518</link>
      <description>Hello friends,&lt;BR /&gt;i am compling pro*c in HP-UX with oracle&lt;BR /&gt;backend getting following errors,pl help:&lt;BR /&gt;&lt;BR /&gt;Pro*C/C++: Release 9.2.0.4.0 - Production on Tue Apr 3 10:48:45 2007&lt;BR /&gt;&lt;BR /&gt;Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;System default option values taken from: /opt/oracle/product/ora92/precomp/admin&lt;BR /&gt;/pcscfg.cfg&lt;BR /&gt;&lt;BR /&gt;: C compiler&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   xu_freeall (first referenced in tapin.o) (code)&lt;BR /&gt;   xd_setp (first referenced in tapin.o) (code)&lt;BR /&gt;   xu_perror (first referenced in tapin.o) (code)&lt;BR /&gt;   asn1D_DataInterChange (first referenced in tapin.o) (code)&lt;BR /&gt;xcc@ : Compilation Error! ./tapin.c -o ./tapin.exe -I/opt/oracle/product/ora92/p&lt;BR /&gt;recomp/public -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/product/ora&lt;BR /&gt;92/plsql/public -I/opt/oracle/product/ora92/network/public -L/opt/oracle/product&lt;BR /&gt;/ora92/lib32 -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lno&lt;BR /&gt;name9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -l:libcl.sl -l:librt.sl -lpthrea&lt;BR /&gt;d -l:libnss_dns.1 -l:libdld.sl -lm -lpthread -lpthread -I../inc&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.</description>
      <pubDate>Mon, 02 Apr 2007 22:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973927#M95518</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-02T22:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973928#M95519</link>
      <description>Do you know where those unsats are defined?&lt;BR /&gt;&lt;BR /&gt;You do seem to have your object before all of your libs, so -Wl,+n probably wouldn't work.</description>
      <pubDate>Tue, 03 Apr 2007 07:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973928#M95519</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-03T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973929#M95520</link>
      <description>Hello Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for ur prompt reply&lt;BR /&gt;&lt;BR /&gt;please let me know how i can compile in this&lt;BR /&gt;circumstance, i am using make file&lt;BR /&gt;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&lt;BR /&gt;have any info abt other lib etc</description>
      <pubDate>Tue, 03 Apr 2007 09:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973929#M95520</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-03T09:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973930#M95521</link>
      <description>&lt;P&gt;&amp;gt;please let me know how I can compile in this circumstance,&lt;BR /&gt;&lt;BR /&gt;Not really. I have no idea whether these symbols are yours or are part of Pro*C??&lt;BR /&gt;xu_freeall (tapin.o)(code)&lt;BR /&gt;xd_setp&lt;BR /&gt;xu_perror&lt;BR /&gt;asn1D_DataInterChange&lt;BR /&gt;&lt;BR /&gt;If these are yours, you need to define them. If not, perhaps you forgot a lib at the end of your list?&lt;BR /&gt;&lt;BR /&gt;If you want to search libs, you can do:&lt;BR /&gt;$ nm -pxNA path/lib* | fgrep -e xu_freeall -e xd_setp -e xu_perror&lt;BR /&gt;&lt;BR /&gt;And in this case, look for the definitions with "T".&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 08:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973930#M95521</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-07T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973931#M95522</link>
      <description>when i run:&lt;BR /&gt;nm -pxNA path/lib* | fgrep -e xu_freeall -e xd_setp  &lt;BR /&gt;i get this error:&lt;BR /&gt;nm:  path/lib*:  cannot open&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want to give some more info:&lt;BR /&gt;i am including one header file in my&lt;BR /&gt;main.pc file which is calling&lt;BR /&gt;(unsatis)xu_freeall etc as extern</description>
      <pubDate>Tue, 03 Apr 2007 23:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973931#M95522</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-03T23:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973932#M95523</link>
      <description>when i run following commnad with path(as my curr dir)&lt;BR /&gt;nm -pxNA path/lib* | fgrep -e xu_freeall&lt;BR /&gt;&lt;BR /&gt;I get following out put:&lt;BR /&gt;&lt;BR /&gt;libasn1ber.a:0x00003a14 T  xu_freeall</description>
      <pubDate>Wed, 04 Apr 2007 00:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973932#M95523</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-04T00:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973933#M95524</link>
      <description>&amp;gt;i get this error: nm: path/lib*: cannot open&lt;BR /&gt;&lt;BR /&gt;Oops, you were suppose to replace "path" by the path to the libs you want to search.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I get following output:&lt;BR /&gt;libasn1ber.a:0x00003a14 T xu_freeall&lt;BR /&gt;&lt;BR /&gt;Good, you need to add -lasn1ber to your makefile.  I assume there is a -L path that matches where you found it?&lt;BR /&gt;&lt;BR /&gt;You should check to make sure the other 3 are there too.</description>
      <pubDate>Wed, 04 Apr 2007 00:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973933#M95524</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-04T00:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973934#M95525</link>
      <description>Thanx for ur help&lt;BR /&gt;all 3 unstats there&lt;BR /&gt;i tried adding this file ,-lasn1ber to my make file,but still errors&lt;BR /&gt;can you give me exact syntax how i can add it&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2007 02:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973934#M95525</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-04T02:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973935#M95526</link>
      <description>&lt;P&gt;&amp;gt;I tried adding this file, -lasn1ber to my makefile&lt;BR /&gt;&lt;BR /&gt;Everybody's makefiles are different.&lt;BR /&gt;Did you get the same errors?&lt;BR /&gt;&lt;BR /&gt;There should be some make macro with "LIB" in it. You just add: -lasn1ber&lt;BR /&gt;&lt;BR /&gt;This macro would have to be used in the rule that builds tapin.exe.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 08:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973935#M95526</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-07T08:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973936#M95527</link>
      <description>Yes i get same error&lt;BR /&gt;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</description>
      <pubDate>Wed, 04 Apr 2007 02:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973936#M95527</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-04T02:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973937#M95528</link>
      <description>&lt;P&gt;&amp;gt;is there any way I link required file (libasn1ber.a) with program for resolving error&lt;BR /&gt;&lt;BR /&gt;As I said, you need to add this lib to an existing *LIB* make macro, or add this lib to the build rule that links tapin.exe.&lt;BR /&gt;&lt;BR /&gt;I suppose I can look at your makefile if is isn't too complex.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 08:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973937#M95528</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-07T08:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973938#M95529</link>
      <description>unsat function prototype in find in the called header file&lt;BR /&gt;My makefile is very simple as below please see:&lt;BR /&gt;.SUFFIXES: .pc .c .o&lt;BR /&gt;&lt;BR /&gt;DEBUG_FLAG =&lt;BR /&gt;&lt;BR /&gt;HDRS=tap.h asn1type.h&lt;BR /&gt;HDRS1=libasn1ber.a&lt;BR /&gt;EXE=tapin.exe&lt;BR /&gt;#include $(ORACLE_HOME)/precomp/lib/env_precomp.mk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;all:tapin.pc&lt;BR /&gt;        xpc tapin.pc -o   ./$(EXE)&lt;BR /&gt;&lt;BR /&gt;tapin.o:tapin.c $(HDRS) $(HDRS1) makefile&lt;BR /&gt;        xcc tapin.c -c $(DEBUG_FLAG)  $(HDRS1)&lt;BR /&gt;&lt;BR /&gt;tapin.c:tapin.pc $(HDRS) $(HDRS1) makefile&lt;BR /&gt;        xpc tapin.pc -c $(DEBUG_FLAG) $(HDRS1)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt;                rm -f tapin.o tapin.c tapin.lis&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2007 06:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973938#M95529</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-04T06:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973939#M95530</link>
      <description>&lt;!--!*#--&gt;&amp;gt;My makefile is very simple as below please see:&lt;BR /&gt;&lt;BR /&gt;Ok, trying to guess what it does:&lt;BR /&gt;all: tapin.pc&lt;BR /&gt;   xpc tapin.pc -o ./$(EXE) -lasn1ber&lt;BR /&gt;&lt;BR /&gt;You may want to look at env_precomp.mk to see if there is a variable you can set to add your lib.</description>
      <pubDate>Wed, 04 Apr 2007 06:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973939#M95530</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-04T06:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973940#M95531</link>
      <description>As you can see in my make file&lt;BR /&gt;#include $(ORACLE_HOME)/precomp/lib/env_precomp.mk&lt;BR /&gt;is commented , and even if try to modify its read only&lt;BR /&gt;&lt;BR /&gt;is there any other way i can link required library file  libasn1ber.a&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 09 Apr 2007 01:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973940#M95531</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-09T01:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973941#M95532</link>
      <description>&lt;!--!*#--&gt;&amp;gt;As you can see in my makefile is commented &lt;BR /&gt;&lt;BR /&gt;Oops, right.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;and even if try to modify its read only&lt;BR /&gt;&lt;BR /&gt;That doesn't prevent you from define macros that are used in that makefile.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is there any other way i can link required library file libasn1ber.a&lt;BR /&gt;&lt;BR /&gt;As I said:&lt;BR /&gt;   xpc tapin.pc -o ./$(EXE) -lasn1ber</description>
      <pubDate>Mon, 09 Apr 2007 01:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973941#M95532</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-09T01:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973942#M95533</link>
      <description>Hello ,&lt;BR /&gt; after i modified: xpc tapin.pc -o ./$(EXE) -lasn1ber&lt;BR /&gt;I am getting this error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;: C compiler&lt;BR /&gt;/usr/ccs/bin/ld: Can't find library: "asn1ber"&lt;BR /&gt;xcc@ : Compilation Error! ./tapin.c -o ./tapin.exe -lasn1ber -I/opt/oracle/produ&lt;BR /&gt;ct/ora92/precomp/public -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/</description>
      <pubDate>Mon, 09 Apr 2007 04:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973942#M95533</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-09T04:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973943#M95534</link>
      <description>&amp;gt;ld: Can't find library: "asn1ber"&lt;BR /&gt;&lt;BR /&gt;You'll need to add -L path-to-your-lib, before that -lasn1ber.&lt;BR /&gt;(That you found with that nm command.)</description>
      <pubDate>Mon, 09 Apr 2007 05:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973943#M95534</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-09T05:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973944#M95535</link>
      <description>please give me exact syntax how to add path to lib ,and where to add&lt;BR /&gt;if had tried but not working</description>
      <pubDate>Mon, 09 Apr 2007 07:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973944#M95535</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-09T07:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973945#M95536</link>
      <description>&lt;!--!*#--&gt;&amp;gt;please give me exact syntax how to add path to lib and where to add&lt;BR /&gt;&lt;BR /&gt;   xpc tapin.pc -o ./$(EXE) -L absolute-path-to-libasn1ber -lasn1ber</description>
      <pubDate>Mon, 09 Apr 2007 19:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973945#M95536</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-09T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973946#M95537</link>
      <description>Thanks for ur replies&lt;BR /&gt;&lt;BR /&gt;Actually i tried by defining macros in the make file,it seems to work,but i think out of 3 unsatis ,it found 2,but still not finding 3rd(asn1D_DataInterChange)&lt;BR /&gt;i tried to find it by command&lt;BR /&gt;nm -pxNA /path/lib* | fgrep -e asn1D_DataInterChange&lt;BR /&gt;it dont gives any output.&lt;BR /&gt;how to search for this in all the directories or what is alternative in this situation please advice</description>
      <pubDate>Mon, 09 Apr 2007 21:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/3973946#M95537</guid>
      <dc:creator>hpuserhk</dc:creator>
      <dc:date>2007-04-09T21:32:52Z</dc:date>
    </item>
  </channel>
</rss>

