info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mismatched ABI


From: Daniel Suarez
Subject: Mismatched ABI
Date: 21 Nov 2001 03:02:10 -0800

Hi, I really need help from you.
I´d appreciate on any advice you could give. My OS is HP-UX 11.0, on
Solaris platform. Thank you.
Is there any flat or compilation option I have to specify on my mk
file?
I have the next message error:

$ compi
        g++ -DANSI -I/inc21_ora01/app/oracle/product/9.0.1/precomp/public
-c tt.trans.cpp
        g++ -DANSI -I/inc21_ora01/app/oracle/product/9.0.1/precomp/public
-c tt.cpp
        g++ -o tt.trans tt.trans.o tt.o -lenvironment -lfileaudit
-lvaf -L/inc21_home/ltelco/lib -L/inc21_ora01/ap
p/oracle/product/9.0.1/lib/ -lclntsh `cat
/inc21_ora01/app/oracle/product/9.0.1/lib/ldflags`   `cat
/inc21_ora01/a
pp/oracle/product/9.0.1/lib/sysliblist`  -lm  -lpthread -lpthread
/usr/ccs/bin/ld: /inc21_ora01/app/oracle/product/9.0.1/lib//libclntsh.sl:
Mismatched ABI. 64-bit PA shared library
 found in 32-bit link.
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.


using the next mk file:

include $(ORACLE_HOME)/precomp/lib/env_precomp.mk

.SUFFIXES: .pc .cpp .o

MYAPP=tt.trans
MYAPP_OBJ= tt.trans.o tt.o
PUBINCLUDE=$(ORACLE_HOME)/precomp/public
USRINCLUDE=/usr/include
GPPINCLUDE=/usr/local/include/g++-v3
PROCFLAGS= code=cpp cpp_suffix=cpp parse=partial
PROCINCLUDES= include=$(USRINCLUDE) include=$(GPPINCLUDE)
CFLAGS= -DANSI
CC=g++

.pc.cpp:
        $(PROC) $(PROCFLAGS) $(PROCINCLUDES) iname=$*.pc

.cpp.o:
        $(CC) $(CFLAGS) -I$(PUBINCLUDE) -c $*.cpp

tt.trans.o:tt.trans.cpp

$(MYAPP): $(MYAPP_OBJ)
        $(CC) -o $@ $(MYAPP_OBJ) -lenvironment -lfileaudit -lvaf
-L$(LTELCO_HOME_LIB) -L$(LIBHOME) $(PROLDLIBS)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]