[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] Doubt on Mismatched ABI
From: |
Jeff Bailey |
Subject: |
Re: [Bug-gnulib] Doubt on Mismatched ABI |
Date: |
Wed, 21 Nov 2001 05:36:38 -0800 |
User-agent: |
Mutt/1.2.5i |
It looks like you're trying to compile Oracle. I cannot help you with
that.
Have I misunderstood?
On Wed, Nov 21, 2001 at 01:11:58AM -0600, David Daniel Suarez wrote:
> 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)
>
>
>
> David Daniel Suárez López
> IT - Telco & Switch Engineering
> Phone: +52 8 2215864
> Vnet: 2735864
> Avantel
>
>
>
> _______________________________________________
> Bug-gnulib mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-gnulib
--
Abandon the search for truth; settle for a good fantasy.