Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> ProC linking problem

ProC linking problem

From: Grace Tsai <gtsai_at_bnl.gov>
Date: Mon, 03 Aug 1998 10:55:14 -0400
Message-ID: <35C5CF51.E16C0B51@bnl.gov>


Hi, we are using Oracle 7.3.2 with server in an AIX, and clients in both AIX and IRIX. Recently all of our SGI machines with IRIX 5.2/5.3 have been removed from users access, only one SGI machine of IRIX 6.4 is available for Oracle users. I found some errors when compiling ProC program in this newer Operating System, which was compiled and linked successfully in the old IRIX (5.3). I use the following three steps to compile sample1.pc found in <OracleHome>/CDE-IRIX/precomp/demo/proc/ directory, and I got error message in the third step.

step 1: precompile sample1.pc to create file sample1.c

            proc iname=sample1.pc - OK

step 2: compile the sample1.c to create file sample1.o

            cc -O -I. -I/<OracleHome>/CDE-IRIX/precomp/public -c sample1.c

step 3: link and create the executable sample1 - OK

            cc -o sample1 sample1.o -L/<OracleHome>/CDE-IRIX/lib -lxa
-lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr
-lsqlnet -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3
-lcore3 -lnlsrtl3 -lm -lm

             Error : ld32: FATAL 112:
                         cannot link old 32-bit object with -n32 link:
Oracle_HOME>/CDE-IRIX/lib/libsql.a (sqlglm.o)

  Any idea? Thanks in advance.

  Regards,

     Grace Tsai
     Brookhaven National Lab
     RHIC Computing Group

Received on Mon Aug 03 1998 - 09:55:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US