problem compiling root with icc

From: Mike Williams <williams_at_ernest.phys.cmu.edu>
Date: Thu, 7 Apr 2005 15:41:41 -0400 (EDT)

I encountered a problem trying to compile root (v4.02) using the intel icc/icpc compilers. We are running RedHat Enterprise, kernel 2.4.21-27.0.2.EL #1 on an i686.

I executed:

./configure linuxicc
make

It compiled for a while, then died with the following last few lines:

icpc -O -o utils/src/rootcint_tmp \

            utils/src/rootcint_tmp.o utils/src/RStl_tmp.o metautils/src/TClassEdit.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/MethodAr.o cint/src/Method.o 
cint/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/gcc3strm.o 
cint/src/longif3.o -lm -ldl -rdynamic

utils/src/rootcint_tmp.o(.text+0x383): In function `R__tmpnam()': : the use of `tmpnam' is dangerous, better use `mkstemp' *** Building xrootd/src/xrootd/bin/xrootd... Options to Xrootd-configure: --ccflavour=icc --use-xrd-strlcpy --enable-echo --no-arch-subdirs
Guessing architecture/compiler: linux:i686:2.4.21-27.0.2.EL linux | i686 | 2.4.21-27.0.2.EL | i386_rhel30 | gcc Invalid architecture. Try ./configure --help
make[1]: Entering directory `/export/dsk12/adam/root/xrootd/src/xrootd'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/export/dsk12/adam/root/xrootd/src/xrootd'
make: *** [xrootd/src/xrootd/bin/xrootd] Error 2

i'm not sure what's wrong, or what it means by Guessing architecture...any help would be greatly appreciated.

thanks,

Mike Williams Received on Thu Apr 07 2005 - 21:41:49 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET