Compiler error (was: Re: [ROOT] Lib version)

From: Oliver Mang (mang@physik.uni-kiel.de)
Date: Wed Mar 14 2001 - 14:00:43 MET


Hi Rene, Fons,

Fons Rademakers wrote:
> with libXpm to avoid these problems. Or you can compile root from source
> for your machine.

I tried to compile ROOT 3.00.06 from source, but gmake exits with the
following error:

cxx -O -nostdnew -D__osf__ -D__alpha -Iinclude  -D_REENTRANT -o
unix/src/TUnixSystem.o -c unix/src/TUnixSystem.cxx
cxx: Error: unix/src/TUnixSystem.cxx, line 68: more than one instance of
          overloaded function "statfs" has "C" linkage
    extern "C" int statfs(const char *file, struct statfs *buffer);
-------------------^
cxx: Info: 1 error detected in the compilation of
"unix/src/TUnixSystem.cxx".
gmake: *** [unix/src/TUnixSystem.o] Error 1

The compiler is
ifkas1> cxx -V
Compaq C++ V6.2-024 for Compaq Tru64 UNIX V5.0A (Rev. 1094)

I configured with 
ifkas1> ./configure alphacxx6 --enable-soversion --enable-star
--enable-thread --disable-opengl --disable-mysql --disable-pythia
--disable-pythia6 --disable-venus --disable-srp
--with-ttf-incdir=/users/local/ttf/include
--with-ttf-libdir=/users/local/ttf/lib
--with-ttf-fontdir=/users/local/ttf/fonts

and ROOTSYS set.
Can you help me to get 3.00 working on my machine ?

Thanks in advance, 
Oliver
-- 
Oliver Mang
HEGRA - High Energy Gamma Ray Astronomy
Institut fuer Experimentelle und Angewandte Physik, CAU Kiel
Phone: ++49/431/880-2482	E-Mail: mang@ifkhep.uni-kiel.de
---------------------------------------------------------------
"The future is not what it used to be"



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET