hi!
i’m trying to compile ROOT from source in a Red Hat 9 Linux PC, with:
gcc --> 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
g++ --> 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
and glibc-2.3.2-11.9
i allways get this error message while compiling with g++ :
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -D_REENTRANT -DR__SHADOWPW -DR__KRB5 -I/usr/kerberos/include -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:347:
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)' rootd/src/rootd.cxx: In function
int setresuid(unsigned int, unsigned int,
unsigned int)’:
rootd/src/rootd.cxx:354: int setresuid(unsigned int, unsigned int, unsigned int)' was declared
extern’ and later static' /usr/include/unistd.h:654: previous declaration of
int setresuid(unsigned int,
unsigned int, unsigned int)'
make: *** [rootd/src/rootd.o] Error 1
i followed the installation instructions (./configure linux ; gmake )
thanks for all help