Re: [ROOT] Debian compilation...

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jan 13 2003 - 09:27:36 MET


This is now fixed in the cvs head.

Cheers, Fons.



On Thu, 2003-01-09 at 17:17, Matthew Bellis wrote:
> 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
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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