linking problem

Dong Zhao (dongzhao@d0sgi0.fnal.gov)
Wed, 15 Jan 1997 17:09:18 -0600


Hi,

I got error messages below when I tried to install root system under SGI 5.3:

I did "install SGI g" under cmz.

......

*** Processing NET_ServerSocket 269 ***
*** Processing NET_Socket 270 ***
Generating library: /usr/piaf/cern/root/tmp/root/lib/libBase.so
ld:
Object file format error in: /usr/piaf/cern/root/tmp/root/src/BASE_Benchmark.o:
bad relocation entry (#30, invalid r_symndx)
*** CC -Wl,-soname,libBase.so -g -shared -o
/usr/piaf/cern/root/tmp/root/lib/libBase.so
/usr/piaf/cern/root/tmp/root/src/BASE_*.o returned exit code 1
Cannot access /usr/piaf/cern/root/tmp/root/lib/libBase.so: No such file or
directory
*** chmod 555 /usr/piaf/cern/root/tmp/root/lib/libBase.so returned exit code 1

......

I copied file "root.cmz" and cmz executables from
fsgi02.fnal.gov:/usr/minos/data04/root

The compile command looks like this: ( I stealed it from /tmp/cmexec.exec.2819
)

CC -g -signed -w -c BASE_Benchmark.C

I tried to compile BASE_Benchmark.C by hand and link to produce libBase.so and
it gave me the same error message.

Could anybody tell me what is wrong? Thanks.

Dong

-- 
----------------------------------------------
Dong Zhao  dongzhao@fnal.gov  630-840-5202 (o)     
----------------------------------------------