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

Home -> Community -> Usenet -> c.d.o.server -> Pro*C differences from O7 to O8

Pro*C differences from O7 to O8

From: Toby T. <eric_petersonNOerSPAM_at_maurices.inrg.com.invalid>
Date: 2000/06/12
Message-ID: <18673ef0.e5e10e48@usw-ex0103-086.remarq.com>#1/1

I'm on AIX4.2, a test db migrated from 7.3.4 to 8.0.6. Here's the problem, compiling works fine on a 7.3.4 database, but now, my compiling does not fully work on 8.0.6. I am receiving a couple linking warnings, duplicate symbols. The program runs but produces a Segmentation fault(core dump). First, the program asks for a Database id, put's the response into a varchar struct, then asks for a username, a username is entered and then core dumps on putting it into a varchar for username. Below is a the CCFLAGS and the LDFLAGS in my make file.

CCFLAGS=-O -qsource -qsrcmsg -I$(MAUINC) -I$(FMTFILE) -I. $(PRECOMPPUBLIC) -I${ORACLE_HOME}/precomp/public \

-I${ORACLE_HOME}/rdbms/public -

I${ORACLE_HOME}/rdbms/demo \

-I${ORACLE_HOME}/plsql/public -

I${ORACLE_HOME}/network/public \

-I/usr/lpp/xlC/include -I/usr/include
LDFLAGS=-bloadmap:xxxx -bnoquiet -L${ORACLE_HOME}/lib/ ${ORACLE_HOME}/lib/scorept.o \

        ${ORACLE_HOME}/lib/nautab.o
${ORACLE_HOME}/rdbms/lib/kpudfo.o \

        ${ORACLE_HOME}/lib/sscoreed.o ${ORACLE_HOME}/lib/naect.o \

        ${ORACLE_HOME}/lib/naedhs.o ${ORACLE_HOME}/lib/naeet.o \
        /lib/crt0_r.o -lclient -lsql -lnetv2 -lnttcp -lnetwork -
lsns \

-lncr -lcommon -lgeneric -lmm -lepc -lnlsrtl3 \
-lcore4 -lclntsh -lslax -lslpm -lserver \
-lsvld -lc_r -lpthreads -lodm -lm -lc \
-libmcl $(MAULIBS)/maurices.a

Here is a sample of the linker warnings: ld: 0711-228 WARNING: Duplicate symbols were found while resolving symbols.
        The following duplicates were found:
 Symbol                    Source-File(Object) OR Import-File
{Shared-object}
 ------------------------- --------------------------------------
-----------
 __start                   crt0main.s(/usr/lpp/xlC/lib/crt0.o)
    ** Duplicate **        crt0main.s(/lib/crt0_r.o)
 .__start                  crt0main.s(/usr/lpp/xlC/lib/crt0.o)
    ** Duplicate **        crt0main.s(/lib/crt0_r.o)

If I remove the /lib/crt0_r.o from the LDFLAGS, the linker warnings go away. What bothers me is the two different directories in which the compile is looking for them in, I also think this is related to the core dumping. Your suggestions would be greatly appreciated. Please post here and email directly with responses, Thanks.

TIA
Eric Peterson, DBA
Maurices Inc.
eric_peterson_at_maurices.inrg_nospam_.com

To email me, remove the _nospam_ from the email address. The views I may have expressed here are solely my own and not that of my employer.

Received on Mon Jun 12 2000 - 00:00:00 CDT

Original text of this message

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