Re: [ROOT] Debian compilation...

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


Well, that definitely gets me further along in the make process. But 
then it bags out at.....



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: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












On 2003.01.09 04:14 Fons Rademakers wrote:
> Hi Matthew,
> 
>   try ./configure linux instead of linuxdeb. Which version of Debian
> are
> you using?
> 
> Cheers, Fons.
> 
> 
> On Thu, 2003-01-09 at 03:12, Matthew Bellis wrote:
> > 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........
> >
> >
> > Running cint/MAKEINFO
> > g++ -O1 -pipe -Wall -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT -o
> > cint/main/cppmain.o -c cint/main/cppmain.cxx
> > g++ -O1  -o cint/main/cint_tmp cint/main/cppmain.o \
> >             cint/src/auxu.o cint/src/cast.o cint/src/debug.o
> > cint/src/decl.o cint/src/disp.o cint/src/dump.o cint/src/end.o
> > cint/src/error.o cint/src/expr.o cint/src/fread.o cint/src/fun
> > c.o cint/src/g__cfunc.o cint/src/gcoll.o cint/src/global1.o
> > cint/src/global2.o cint/src/ifunc.o cint/src/inherit.o
> cint/src/init.o
> > cint/src/input.o cint/src/intrpt.o cint/src/loadfile_t
> > mp.o cint/src/macro.o cint/src/malloc.o cint/src/memtest.o
> > cint/src/new.o cint/src/newlink.o cint/src/oldlink.o cint/src/opr.o
> > cint/src/parse.o cint/src/pause.o cint/src/pcode.o cint/sr
> > c/pragma.o cint/src/quote.o cint/src/scrupto.o cint/src/shl.o
> > cint/src/sizeof.o cint/src/stdstrct.o cint/src/struct.o
> cint/src/stub.o
> > cint/src/tmplt.o cint/src/typedef.o cint/src/val2a.
> > o cint/src/value.o cint/src/var.o cint/main/G__setup.o
> cint/src/Api.o
> > cint/src/Apiif.o cint/src/BaseCls.o cint/src/CallFunc.o
> cint/src/Class.o
> > cint/src/DataMbr.o cint/src/Method.o cint/
> > src/MethodAr.o cint/src/Token.o cint/src/Type.o cint/src/Typedf.o
> > cint/src/gcc3strm.o -lm -ldl -rdynamic
> > cp cint/iosenum/iosenum.linuxdeb cint/include/iosenum.h
> > g++ -O1 -pipe -Wall -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT
> > -UHAVE_CONFIG -DROOTBUILD \
> >                  -c utils/src/rootcint.cxx -o
> utils/src/rootcint_tmp.o
> > g++ -O1  -o utils/src/rootcint_tmp \
> >                  utils/src/rootcint_tmp.o cint/src/auxu.o
> > cint/src/cast.o cint/src/debug.o cint/src/decl.o cint/src/disp.o
> > cint/src/dump.o cint/src/end.o cint/src/error.o cint/src/expr.o
> >   cint/src/fread.o cint/src/func.o cint/src/g__cfunc.o
> cint/src/gcoll.o
> > cint/src/global1.o cint/src/global2.o cint/src/ifunc.o
> > cint/src/inherit.o cint/src/init.o cint/src/input.o cint/sr
> > c/intrpt.o cint/src/loadfile_tmp.o cint/src/macro.o
> cint/src/malloc.o
> > cint/src/memtest.o cint/src/new.o cint/src/newlink.o
> cint/src/oldlink.o
> > cint/src/opr.o cint/src/parse.o cint/src/pa
> > use.o cint/src/pcode.o cint/src/pragma.o cint/src/quote.o
> > cint/src/scrupto.o cint/src/shl.o cint/src/sizeof.o
> cint/src/stdstrct.o
> > cint/src/struct.o cint/src/stub.o cint/src/tmplt.o cint
> > /src/typedef.o cint/src/val2a.o cint/src/value.o cint/src/var.o
> > cint/main/G__setup.o cint/src/Api.o cint/src/Apiif.o
> cint/src/BaseCls.o
> > cint/src/CallFunc.o cint/src/Class.o cint/src/Dat
> > aMbr.o cint/src/Method.o cint/src/MethodAr.o cint/src/Token.o
> > cint/src/Type.o cint/src/Typedf.o cint/src/gcc3strm.o -lm -ldl
> -rdynamic
> > utils/src/rootcint_tmp.o(.text+0xb421): In function `main':
> > : the use of `tmpnam' is dangerous, better use `mkstemp'
> > 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
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:6
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:7
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:8
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:9
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:10
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:11
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:12
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:13
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:14
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:15
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:16
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:17
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:18
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:19
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:20
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:21
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:22
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:23
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:24
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:25
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:26
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:27
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:28
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:29
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:30
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:31
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:32
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:33
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:34
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:35
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:36
> > Error: class,struct,union or type ios not defined
> > FILE:cint/include/iosenum.h LINE:37
> > Error: hex already declared as different type
> > FILE:cint/include/iostream.h LINE:462
> > Error: hex not allocated(2), maybe duplicate declaration
> > FILE:cint/include/iostream.h LINE:462
> > Error: dec already declared as different type
> > FILE:cint/include/iostream.h LINE:463
> > Error: dec not allocated(2), maybe duplicate declaration
> > FILE:cint/include/iostream.h LINE:463
> > Error: oct already declared as different type
> > FILE:cint/include/iostream.h LINE:464
> > Error: oct not allocated(2), maybe duplicate declaration
> > FILE:cint/include/iostream.h LINE:464
> > Warning: Error occured during reading source files
> > Warning: Error occured during dictionary source generation
> > !!!Removing hbook/src/G__Hbook.cxx hbook/src/G__Hbook.h !!!
> > Error: utils/src/rootcint_tmp: error loading headers...
> > make: *** [hbook/src/G__Hbook.cxx] Error 1
> >
> >
> > 	Anybody seen this before?
> --
> 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