Re: [ROOT] root installation on Mandrake linux 9.1

From: Matteo Alfonsi (Matteo.Alfonsi@lnf.infn.it)
Date: Sat May 24 2003 - 00:09:38 MEST


Hi, I have recompiled all with the arch type linux, but I have the same
problem. This time I report it exactly:

g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -D_REENTRANT -o rootx/src/rootx.o -c rootx/src/rootx.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -D_REENTRANT -o rootx/src/rootxx.o -c rootx/src/rootxx.cxx
g++ -O  -o bin/root rootx/src/rootx.o rootx/src/rootxx.o -L/usr/X11R6/lib
         -lXpm -L/usr/X11R6/lib -lX11
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -D_REENTRANT -o rootd/src/daemon.o -c rootd/src/daemon.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -D_REENTRANT -o rootd/src/error.o -c rootd/src/error.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -D_REENTRANT -o rootd/src/net.o -c rootd/src/net.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -D_REENTRANT -o rootd/src/netpar.o -c rootd/src/netpar.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
         -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: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)'
gmake: *** [rootd/src/rootd.o] Error 1


The version of root I'm trying to install is 3.04.02 (the last
productivity version) on an AMD Athlon i586-like pc with the Mandrake
linux 9.1 distribution.
gcc version is 3.2.2
libstdc++ is 5.0.3
libc-2.3.1.so



On Thu, 22 May 2003, Damir Buskulic wrote:

> Hi Matteo,
> 
> no, the "mklinux" target is for old linux on PowerPC with mach kernel.
> try "linux", it should work
> 
> Cheers
> 
> Damir



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