Re: [ROOT] compiling with gcc 3.3

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri May 02 2003 - 11:38:19 MEST


Hi Gernot,

The fixes to run with gcc3.3 were recently implemented by Jiri Masik.
You have to start from the CVS version.

Rene Brun

Gernot Maier wrote:
> 
> Hej,
> 
> I have problems compiling root 3.05/04 with gcc 3.3 on
> linux (Suse 8.2).
> 
> Error messages:
> 
> .....
> /opt/cernlib/2001/lib/libpacklib.a(serror.o)(.text+0x29b): In function `sstrerror_r':
> /afs/cern.ch/project/cernlib/i386_redhat61/2001/build/packlib/kernlib/shift/archive/common/serror.c:419: `sys_        nerr' is deprecated; use `strerror' or `strerror_r' instead
> /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../crt1.o(.text+0x18): In function `_start':
> : undefined reference to `main'
> collect2: ld returned 1 exit status
> gmake: *** [bin/g2root] Fehler 1
> ....
> 
> Or can I use a precompiled binary (which)?
> 
> Thank you and best regards,
> 
> Gernot



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET