<?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: Pro*C Compilation/Linking Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462135#M757103</link>
    <description>WOW !! this sounds promising. I will come back after installing that.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 13 Jan 2005 02:20:13 GMT</pubDate>
    <dc:creator>A Y Krishna</dc:creator>
    <dc:date>2005-01-13T02:20:13Z</dc:date>
    <item>
      <title>Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462129#M757097</link>
      <description>I have precompiled a Pro*c program (abc.pc) like this&lt;BR /&gt;&lt;BR /&gt;node1&amp;gt;  proc abc.pc&lt;BR /&gt;&lt;BR /&gt;there were no errors&lt;BR /&gt;&lt;BR /&gt;then I compiled it like&lt;BR /&gt;&lt;BR /&gt;node1&amp;gt; cc abc.c&lt;BR /&gt;&lt;BR /&gt;then I get the following error&lt;BR /&gt;&lt;BR /&gt;Id: Unsatisfied Symbol "sqlcxt" in file abc.o&lt;BR /&gt;1 errors.&lt;BR /&gt;&lt;BR /&gt;I am new to this, can anyone please help.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 23:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462129#M757097</guid>
      <dc:creator>A Y Krishna</dc:creator>
      <dc:date>2005-01-12T23:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462130#M757098</link>
      <description>Check this links:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=64515" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=64515&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.orafaq.net/usenet/comp.databases.oracle.server/2000/06/13/0009.htm" target="_blank"&gt;http://www.orafaq.net/usenet/comp.databases.oracle.server/2000/06/13/0009.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Wed, 12 Jan 2005 23:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462130#M757098</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2005-01-12T23:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462131#M757099</link>
      <description>Thanks Sanjay.&lt;BR /&gt;&lt;BR /&gt;But it didn't helped me (I think due to my limited knowledge). Problem is I am not having any makefile supplied by Oracle !! I don't find the demo directory too !!&lt;BR /&gt;&lt;BR /&gt;I am using Oracle 10g on HP UX 11i.</description>
      <pubDate>Thu, 13 Jan 2005 01:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462131#M757099</guid>
      <dc:creator>A Y Krishna</dc:creator>
      <dc:date>2005-01-13T01:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462132#M757100</link>
      <description>Hi krishan,&lt;BR /&gt;&lt;BR /&gt;According to Oracle supported proc compilers one has to use: &lt;BR /&gt;&lt;BR /&gt;HP ANSI C B.11.11.08+ &amp;amp; HP aC++ A.03.50+ &lt;BR /&gt;HP92453-01 A.11.01.21 HP C (Bundled) Compiler &lt;BR /&gt;HP aC++ B3910B A.03.37 &lt;BR /&gt;HP aC++ B3910B A.03.30 Language Support Library &lt;BR /&gt;&lt;BR /&gt;Error â  HP-UX Oracle10g ld Unsatisfied symbolâ   may be solved by installing a certified compiler.&lt;BR /&gt;&lt;BR /&gt;It is recommended to use the Oracle provided make file demo_proc.mk to compile/ link your programs. The make file is shipped in $ORACLE_HOME/precomp/demo/proc directory and can be used as follows. &lt;BR /&gt;&lt;BR /&gt;make -f demo_proc.mk build EXE=program_name OBJS=program_name.o &lt;BR /&gt;&lt;BR /&gt;example : If test.pc is the program name, then the make file can be used as : &lt;BR /&gt;&lt;BR /&gt;make -f demo_proc.mk build EXE=test OBJS=test.o &lt;BR /&gt;&lt;BR /&gt;If you have multiple modules accociated with your Pro*c application, then the make file can be used as : &lt;BR /&gt;&lt;BR /&gt;make -f demo_proc.mk build EXE=application_name OBJS="mod1.o mod2.o mod3.o &lt;BR /&gt;&lt;BR /&gt;So you may have to purshase a lisence for the new compiler and test to see if the problem is solved.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Indi</description>
      <pubDate>Thu, 13 Jan 2005 01:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462132#M757100</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-01-13T01:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462133#M757101</link>
      <description>Thanks Indira.&lt;BR /&gt; &lt;BR /&gt;I don't know which compiler is bundled with this. So, you see it as license problem !! OK, I will check this out.&lt;BR /&gt;&lt;BR /&gt;Coming to the makefile, thanks again for your explanation. In my server I don't see a demo directory !!&lt;BR /&gt;&lt;BR /&gt;I see two makefiles, /u01/oracle/precomp/lib/ins_precomp.mk   and&lt;BR /&gt;/u01/oracle/precomp/lib/env_precomp.mk&lt;BR /&gt;are these of any help?&lt;BR /&gt;&lt;BR /&gt;Apart from license can there be any other turnaround :(  &lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2005 01:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462133#M757101</guid>
      <dc:creator>A Y Krishna</dc:creator>
      <dc:date>2005-01-13T01:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462134#M757102</link>
      <description>Hi Krishna,&lt;BR /&gt;&lt;BR /&gt;You will require to add demo_proc.mk to an existing 0g installation to enable some Pro*C compilations. &lt;BR /&gt;&lt;BR /&gt;There is a companion CD along with the 10G database. The component for the PRO*C compilers is there in that CD. Install from it.&lt;BR /&gt;&lt;BR /&gt;Indira A&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2005 02:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462134#M757102</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-01-13T02:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462135#M757103</link>
      <description>WOW !! this sounds promising. I will come back after installing that.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 13 Jan 2005 02:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462135#M757103</guid>
      <dc:creator>A Y Krishna</dc:creator>
      <dc:date>2005-01-13T02:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462136#M757104</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;after doing what Indira has suggested above, you may try to included the following sample makefile in the precompiler directory and use the symbolic in there to link with:&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;=============================================&lt;BR /&gt;$(TARGET): $(SOURCE) $(SOURCE:.pc=.c) $(SOURCE:.pc=.o)&lt;BR /&gt;    $(CC) $(LDFLAGS) -t -o $(TARGET) \&lt;BR /&gt;        $(SOURCE:.pc=.o) -L$(ORACLE_HOME)/lib $(PROLDLIBS)&lt;BR /&gt; &lt;BR /&gt;include $(ORACLE_PROC_MAKEFILE)&lt;BR /&gt; &lt;BR /&gt;PROCFLAGS= ireclen=255 lines=yes $(PROC_ENV_FLAGS) \&lt;BR /&gt;           include=$(ORACLE_HOME)/proc/lib&lt;BR /&gt;PROFLAGS=$(PROCFLAGS)&lt;BR /&gt; &lt;BR /&gt;CFLAGS=-I. -g $(CC_ENV_FLAGS)&lt;BR /&gt;=============================================&lt;BR /&gt;where:&lt;BR /&gt;TARGET = name of program you want to create&lt;BR /&gt;SOURCE = list of .pc files you need to precompile/compile&lt;BR /&gt;PROC_ENV_FLAGS = any settings you want to override at make time for ProC&lt;BR /&gt;CC_ENV_FLAGS = any setting you want to override at make time for CC&lt;BR /&gt;&lt;BR /&gt;then, &lt;BR /&gt;you should:&lt;BR /&gt;export ORACLE_PROC_MAKEFILE=$ORACLE_HOME/precomp/demo/proc/demo_proc.mk&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 13 Jan 2005 02:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462136#M757104</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-01-13T02:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462137#M757105</link>
      <description>finally I could do it.&lt;BR /&gt;&lt;BR /&gt;the sqlcxt symbol is found in libsqlplus.a, i have included this file in the linker path as&lt;BR /&gt;&lt;BR /&gt;cc abc.c -L $ORACLE_HOME/lib32 -l sqlplus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Once again, thanks everyone.</description>
      <pubDate>Sat, 15 Jan 2005 01:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462137#M757105</guid>
      <dc:creator>A Y Krishna</dc:creator>
      <dc:date>2005-01-15T01:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462138#M757106</link>
      <description>Hi,&lt;BR /&gt;   This is RaviKumar.We are using the same OS environment(HP-UX 11i and Oracle 10g)I have faced the same problem.In our Oracle Server there is no demo_proc.mk.If u don't mind can u please send this file if u have&lt;BR /&gt;please contact the following mail ID.&lt;BR /&gt;&lt;BR /&gt;ravi_mca80@yahoo.co.in&lt;BR /&gt;keyurg@gmail.com&lt;BR /&gt;&lt;BR /&gt;If u send this it will be helpful for us.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards,&lt;BR /&gt;RaviKumar.T&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Dec 2005 06:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462138#M757106</guid>
      <dc:creator>RaviKumar_8</dc:creator>
      <dc:date>2005-12-12T06:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462139#M757107</link>
      <description>I have oracle 10g running on a win2k sever but I need the files in the demo\proc\ directory from oracle 10g. I downloaded the companion cd and install but no demo_proc.mk can you email me them?  &lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;scott</description>
      <pubDate>Tue, 20 Dec 2005 16:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462139#M757107</guid>
      <dc:creator>scott ruffner_2</dc:creator>
      <dc:date>2005-12-20T16:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pro*C Compilation/Linking Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462140#M757108</link>
      <description>Hello ..&lt;BR /&gt;&lt;BR /&gt;The file that contains sqlcxt is libclntsh.a, which is located under $(ORACLE_HOME)/lib32(probably for 32 bit mode) and under $(ORACLE_HOME)/lib(probably for 64 bit mode). &lt;BR /&gt;&lt;BR /&gt;Try including that file explicitly in the .mk file. This may solve the problem. &lt;BR /&gt;&lt;BR /&gt;In my case, the .pc file was compiling fine. But when i was trying to link it with another .c file, it was giving error "Undefined Symbol: .sqlcxt". It was finally resolved by explicitly adding an entry for the file $(ORACLE_HOME)/lib32/libclntsh.a in my .mk file for the .c file.</description>
      <pubDate>Fri, 16 Mar 2007 01:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c-compilation-linking-problem/m-p/3462140#M757108</guid>
      <dc:creator>Vaibhav Patil</dc:creator>
      <dc:date>2007-03-16T01:01:48Z</dc:date>
    </item>
  </channel>
</rss>

