rexx on amd64 wont compile: skipping incompatible

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

 



Hello list,

I am not shure, whether this is the very right place for this, but I try
anyway because I?m very lacking of time - so please help.


First the environment:

---------------------------------------------------------------------------

Suse SLES9 AMD 64, gcc 3.3

GCC SAYS:

trex:/opt/env/rexxsqlinstall # gcc -v

Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --libdir=/usr/lib64 --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux

Thread model: posix

gcc version 3.3.3 (SuSE Linux)



REXXSQL is 2.4 sources


The error message on make is:

---------------------------------------------------------------------------

trex:/opt/env/rexxsqlinstall # make

....

gcc -c -g -m32 -g -m32 -DDEBUG -I. -I. -I./db2 -I./common -I./general 
-DHAVE_CONFIG_H  -DDEBUG -I/opt/env/oorexx/include 
-I/opt/IBM/db2/V8.1/include -I./cli-odbc -fPIC -DDYNAMIC -o rxpack_dyn.o
./common/rxpack.c

ld -shared  -o librexxsql.so rexxcli_dyn.o hash_dyn.o rxpack_dyn.o 
-L/opt/env/oorexx/lib/ooRexx -lrexxapi -lrexx  -lm -lnsl -lpthread   
-L/opt/env/oorexx/lib/ooRexx -lrexxapi -lrexx -L/opt/IBM/db2/V8.1/lib -ldb2    
-lm -lnsl 

ld: skipping incompatible /opt/env/oorexx/lib/ooRexx/librexxapi.so when
searching for -lrexxapi

ld: skipping incompatible /opt/env/oorexx/lib/ooRexx/librexxapi.so when
searching for -lrexxapi

ld: cannot find -lrexxapi

make: *** [librexxsql.so] Error 1

trex:/opt/env/rexxsqlinstall #


Other usefull information:

---------------------------------------------------------------------------

1) ./configure did succeed...see the command here:

 ./configure --host=x86_64 --prefix=/opt/env/rexxsql-2.4_db2 
--with-rexx=objrexx --with-rexxincdir=/opt/env/oorexx/include 
--with--rexxlibdir=/opt/env/oorexx/lib/ooRexx --with-db=db2 
--with-dblibdir=/opt/IBM/db2/V8.1/lib 
--with-dbincdir=/opt/IBM/db2/V8.1/include --enable-debug

What I did to solve the problem :

---------------------------------------------------------------------------

1) Did make clean, distclean and stuff.

2) I startet that configure and make with "linux32 ...".

3) I added -m32 to the Makefile.

4) I installed nearly every RPM that got "32" in its name.

5) I put the right lib-paths from rexx to /etc/ld.conf.so (ld -p shows them
loaded)

6) I exportet the LD_LIBRARY_LD varibale with /lib /usr/lib instead of the
/lib64 once.



So does anyone got an idea of whats next to solve this? Tell me if you need
more information. Don?t want to penetrate the reader :)


Thanx in advance
markus

-- 
View this message in context: http://www.nabble.com/rexx-on-amd64-wont-compile%3A-skipping-incompatible-tf1901499.html#a5202353
Sent from the gcc - Help forum at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux