[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
passed build with warning message, but cause crash
From: |
Frank Feng Wang |
Subject: |
passed build with warning message, but cause crash |
Date: |
Wed, 14 Mar 2001 10:15:09 -0500 |
I tried to build a c++ sample using gcc compiler on Linux to link OCI
(Oracle call interface) application.
I get the following message while linking
==================
make -f demo_rdbms.mk cdemo6
gmake -f demo_rdbms.mk buildc++ EXE=cdemo6 OBJS=cdemo6.o
gmake[1]: Entering directory `/u01/app/oracle/product/8.1.5/rdbms/demo'
/usr/bin/gcc -L/u01/app/oracle/product/8.1.5/lib/
-L/u01/app/oracle/product/8.1.5/rdbms/lib -o cdemo6 cdemo6.o -lclntsh
/u01/app/oracle/product/8.1.5/lib/nautab.o
/u01/app/oracle/product/8.1.5/lib/naeet.o
/u01/app/oracle/product/8.1.5/lib/naect.o
/u01/app/oracle/product/8.1.5/lib/naedhs.o -lnbeq8 -lnhost8 -lnus8
-lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8
-lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8 -lnsslb8
-lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8
-lclient8 -lvsn8 -lcommon8 -lskgxp8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8
-lcore8 -lnls8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8 -lnsslb8 -lnoss8
-lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnro8
-lnbeq8 -lnhost8 -lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8
-lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lclient8 -lvsn8 -lcommon8
-lskgxp8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8
-lvsn8 -lcommon8 -lskgxp8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8
-ldl -lm -lpthread -ldl -lm -ldl -lnbeq8 -lnhost8 -lnus8 -lldapclnt8
-lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8
-lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8
-lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnbeq8 -lnhost8
-lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8
-lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8
-lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8
-lnl8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8
-lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8
-lnhost8 -lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8
-lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8
-lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8
-lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8
-lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnbeq8 -lnhost8
-lnus8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8
-lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lldapclnt8
-lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8
-lnl8 -lsql8 -lsql8
/usr/bin/ld: warning: type and size of dynamic symbol `ofetch' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oerhms' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oclose' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `olog' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `ologof' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oopen' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `odefin' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oexec' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `obndrn' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oparse' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `odescr' are not defined
gmake[1]: Leaving directory `/u01/app/oracle/product/8.1.5/rdbms/demo'
=======================
When I try run cdemo6, crash and core generated.
But when build the same code on Solaris using gcc compiler, ereyrthing
works fine.
Anyone knows any problem on Linux or gcc compiler?
Thanks
-Frank
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- passed build with warning message, but cause crash,
Frank Feng Wang <=