Re: [ROOT] Debian compilation...

From: Matthew Bellis (bellim@hadron3.phys.rpi.edu)
Date: Thu Jan 09 2003 - 17:17:22 MET


On 2003.01.09 05:26 Jiri Masik wrote:
> Matthew Bellis <bellim@hadron3.phys.rpi.edu> writes:
> 
> > Hi all,
> >
> > 	I am compiling v3.04.02 on my Debian machine. I am using
> gcc3.2
> > and I configure with ./configure linuxdeb.
> >
> > 	I get the following errors........
> >
> [...]
> > Generating dictionary hbook/src/G__Hbook.cxx...
> > utils/src/rootcint_tmp -f hbook/src/G__Hbook.cxx -c
> > hbook/inc/THbookBranch.h hbook/inc/THbookFile.h
> hbook/inc/THbookKey.h
> > hbook/inc/THbookTree.h hbook/inc/LinkDef.h
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:5
> [...]
> > --
> > Matt Bellis
> > RPI
> 
> Hi Matthew,
> 
> can you try to update your iosenum.h file?
> rm cint/iosenum/iosenum.linuxdeb; make clean; make
> cheers
> 
> Jiri
> 
> 

This also gets me further along. But it still bombs at.............


g++ -O1 -pipe -Wall -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT 
-DR__SHADOWPW     -DR__SRP_1_1 -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)'
make: *** [rootd/src/rootd.o] Error 1



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