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 -> Help compliling pro C

Help compliling pro C

From: x <xxx_at_aol.com>
Date: 1997/03/13
Message-ID: <01bc2fff$ab08d520$b4723ac0@brcnt4>#1/1

I wanted to compile my proc program in a static mode but I get the following errors. I am having trouble with the libraries
-lclntsh and -lthread.

Can anyone help me with this problem?
Please email me with your solution to gollapal_at_brcsun0.tamu.edu

Thank you very much.

Here is the error I get when I try to compile If I don't put the -B static I can compile and run but I can't use it as a cgi script nor is is portable.

cc -B static -o census census.o
-L/net/brcsun15/srph4/app/oracle/product/7.3.2/lib -L. -lclntsh -lsql
-lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lm -lthread -lcgic

ld: fatal: library -lclntsh: not found
ld: fatal: library -lthread: not found
ld: fatal: symbol `waitpid' is multiply defined:
        (file

/net/brcsun15/srph4/app/oracle/product/7.3.2/lib/libsqlnet.a(sntp.o) and file /usr/lib/libc.a(thr_stub.o));
ld: fatal: symbol `wait' is multiply defined:

        (file
/net/brcsun15/srph4/app/oracle/product/7.3.2/lib/libsqlnet.a(sntp.o) and file /usr/lib/libc.a(thr_stub.o));
ld: fatal: File processing errors. No output written to census *** Error code 1 Received on Thu Mar 13 1997 - 00:00:00 CST

Original text of this message

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