Re: [ROOT] compilation error

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 22 2002 - 19:31:53 MEST


Hi Yves,

I have seen this kind of report when gcc3.1 was not correctly installed.
The best solution is to install gc3.2 ::)

Rene Brun

On Thu, 22 Aug 2002, yves schutz wrote:

> Hi,
> 
> I have a compilation error when compiling root 3.03.07 using gcc 3.1 
> .... The Config file is attached. Yves
> 
> g++ -g  -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/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/src/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/pause.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/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
> /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> cint/src/g__cfunc.o: In function `G__compiled_func':
> :3187: the use of `tmpnam' is dangerous, better use `mkstemp'
> collect2: ld returned 1 exit status
> make: *** [cint/main/cint_tmp] Error 1
> 
> #! /usr/local/bin/tcsh
> 
> #cd $ROOTSYS
> 
> 
> setenv ROOTBUILD debug
> 
> touch lib/libPythia.so lib/libPythia6.so lib/libVenus.so
> 
> ./configure linux       --with-cern-libdir=/cern/pro/lib \
>                         --with-thread-libdir=/usr/lib/libpthread.so \
>                         --with-pythia-libdir=$ROOTSYS/lib \
>                         --with-pythia6-libdir=$ROOTSYS/lib \
>                         --with-venus-libdir=$ROOTSYS/lib \
>                         --enable-mysql \
>                         --enable-rfio --disable-pgsql \
>                         --build=debug \
>                         --with-ttf-fontdir=$THRONG_DIR/commun/root/ttf/fonts
> 
> 
> -- 
> Yves SCHUTZ  (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE   
> SUBATECH                                                          
> Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71         
> 4, rue Alfred Kastler     Fax      : (+33/0) 2 51 85 84 79        
> F-44070 Nantes cedex 03   e-mail   : yves.schutz@subatech.in2p3.fr
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET