[ROOT] Compilation problem with ROOT v3.03.09

From: Jacek Otwinowski (otwinow@psja1.if.uj.edu.pl)
Date: Wed Nov 12 2003 - 10:48:31 MET


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)'
rootd/src/rootd.cxx: In function `int setresuid(unsigned int, unsigned int, 
   unsigned int)':
rootd/src/rootd.cxx:334: `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)'
gmake: *** [rootd/src/rootd.o] Error 1

The newest root version compile with no problems.

-- 
Jacek



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