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

4.2.0 client Compile error on Linux



I'm having trouble compiling the Hobbit client (version 4.2.0) on
Linux... specifically, the compile generates the following error:

 

/usr/bin/ld: bb.o: Relocations in generic ELF (EM: 2)

bb.o: could not read symbols: File in wrong format

 

I have copied the entire "make" command output below - sorry if this is
too lengthy, but wanted to give as much info as possible...

 

 

Created Makefile with the necessary information to build Hobbit

Some defaults are used, so do look at the Makefile before continuing.

 

Configuration complete - now run make (GNU make) to build the tools

rswpfssh01:/tmp/hobbit-4.2.0% make

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include
-DCLIENTONLY=1" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath="
PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS=""
BBTOPDIR="/home/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="10.26.10.16"
BBHOSTOS="" LOCALCLIENT="no" make -C lib client

make[1]: Entering directory `/tmp/hobbit-4.2.0/lib'

make[1]: Nothing to be done for `client'.

make[1]: Leaving directory `/tmp/hobbit-4.2.0/lib'

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include
-DCLIENTONLY=1" LDFLAGS="" RPATHOPT="-Wl,--rpath=" SSLFLAGS=""
SSLINCDIR="" SSLLIBS="" NETLIBS="" BBHOME="/home/hobbit/client" make -C
common client

make[1]: Entering directory `/tmp/hobbit-4.2.0/common'

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/tmp/hobbit-4.2.0/include
-DCLIENTONLY=1 -o ../client/bb bb.o ../lib/hobbitclient.a 

/usr/bin/ld: bb.o: Relocations in generic ELF (EM: 2)

bb.o: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

make[1]: *** [../client/bb] Error 1

make[1]: Leaving directory `/tmp/hobbit-4.2.0/common'

make: *** [common-client] Error 2

 

 

Here is the output of the "uname -a" command: 

 

Linux rswpfssh01 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux

 

 

Any assistance would be very much appreciated, I am at a loss to
understand the reason for this compile failure - especially since the
source compiled OK on my Solaris boxes.

Dean Casey

P A T H F I R E

Email:   dcasey (at) pathfire.com

Office:   678 566 5664