Hi Guys,

Having some difficult in linking a test prog to some 64 shared libs.
Getting the following serror message:
Any ideas  why this is  happening ???
Help much appreciated .
Thanks
nano72

ld: fatal: file libs/xxxx.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to testDriver
*** Error code 1

Makefile looks like so :
// ~ been HOMEDIR
CPPUNIT_HOME=~
CPPUNIT_LIB=$(CPPUNIT_HOME)~/.libs

all: clean run_tests

clean:
        rm -f *.o testD

run_tests: testDriver
        env LD_LIBRARY_PATH=..:$(CPPUNIT_LIB) ./testD

testD: testD.cpp
        CC -I.. -I$(CPPUNIT_HOME)/include -c $?
        CC -o $@ testD.o -L.. -L$(CPPUNIT_LIB) -ljmaths -lxxxx


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to