[Fwd: linking problem]

Fons Rademakers (Fons.Rademakers@cern.ch)
Thu, 16 Jan 1997 18:24:37 +0100


Hi Dong,

to be able to link the ROOT shared libraries on SGI 5.3 you must
install
a number of compiler and OS patches. At FNAL Adam Para
(para@d0sgic.fnal.gov)
took care of this. Maybe Adam could let us know which patches were
needed.

Cheers, Fons.

Dong Zhao wrote:
>
> 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)
> ----------------------------------------------

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7822601