Re: [ROOT] Compilation problem with ROOT v3.03.09

From: Jiri Masik (masik@fzu.cz)
Date: Wed Nov 12 2003 - 17:52:43 MET


Jacek Otwinowski <otwinow@psja1.if.uj.edu.pl> writes:

> Hi ROOTers,
>
> I need to compile the ROOT v3.03.09 on the linux platform
> (gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-openmosix). 
>
> I set 
>
> ./configure linux
> gmake
>
> then the following bug is reported:
>
> g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude  -D_REENTRANT 
> -DR__SHADOWPW      -o rootd/src/rootd.o -c rootd/src/rootd.cxx
> rootd/src/rootd.cxx: In function `int setresgid(unsigned int, unsigned int, 
>    unsigned int)':
> rootd/src/rootd.cxx:327: `int setresgid(unsigned int, unsigned int, unsigned 
>    int)' was declared `extern' and later `static'
> /usr/include/unistd.h:658: previous declaration of `int setresgid(unsigned 
> int, 
>    unsigned int, unsigned int)'
[....]
>
> The newest root version compile with no problems.
>
> -- 
> Jacek

Hi Jacek,

see http://root.cern.ch/root/roottalk/roottalk03/1580.html
if it helps

Jiri



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