Re: root & slc-4.2

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sat, 4 Feb 2006 23:31:11 +0100 (MET)


Marek,

It is likely that you have a version of cernlib/libpacklib.a that is not compatible with your Castor library (a big mess right now). If you do not need Castor, reconfigure ROOT without the shift option and in cern/pro/lib rename libpacklib-n0-shift to libpacklib.a. If you need Castor, contact the Castor guys. It looks like they do not have yet a version working with gcc3.4.4 And if you do not care about h2root, simply do

   make -k

Rene brun

On
Sat,
4
Feb 2006, Marek Kowalski wrote:

>
> Hi,
> I am running SLC 4.2, gcc version 3.4.4 20050721 (Red Hat 3.4.4-2).
> I tried to install root, HEAD of 3rd of February with them following results:
>
> g++ -O -o bin/h2root main/src/h2root.o hbook/src/hntvar2.o \
> -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix
> \ -L/usr/local/cern/pro/lib -L/usr/local/cern/pro/lib -lpacklib -lkernlib
> -L/usr/local/lib \
> -lshift /usr/lib/gcc/i386-redhat-linux/3.4.4/libfrtbegin.a
> /usr/lib/gcc/i386-redhat-linux/3.4.4/libg2c.a -lnsl -lm -ldl -pthread
> -rdynamic
>
> /usr/local/lib/libshift.a(error.o)(.text+0x25c): In function `rfio_serror':
> : warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
> : instead
>
> /usr/local/lib/libshift.a(serror.o)(.text+0x26): In function `sstrerror':
> : warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
>
> /usr/local/lib/libshift.a(remote.o)(.text+0x417): In function `isremote':
> : undefined reference to `errno'
>
> /usr/local/lib/libshift.a(remote.o)(.text+0x481): In function `isremote':
> : undefined reference to `errno'
>
> collect2: ld returned 1 exit status
> make: *** [bin/h2root] Error 1
>
>
>
> Any suggestion?
> Cheers, Marek
>
> -------------------------------------------------------
>
Received on Sat Feb 04 2006 - 23:31:24 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET