linking problem

From: Dong Zhao (dongzhao@d0sgi0.fnal.gov)
Date: Thu Jan 16 1997 - 00:09:18 MET


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)     
----------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:17 MET