RE: [ROOT] Build ROOT 3.10.01 with win32gcc under Cygwin 1.5.5-1

From: Axel Naumann (axel-naumann@gmx.de)
Date: Sun Nov 23 2003 - 14:44:49 MET


Hi,

as indicated on the roottalk forum the problem is the new cygwin library
(everything >=1.5 and <=1.5.5-1). They migrated all functions to 64bits,
but forgot tmpfile() - and now rootcint doesn't work properly. The
workaround is to install a cygwin snapshot (until the next cygwin
version is out):

get a snapshot from cygwin: http://cygwin.com/snapshots/ (the
cygwin-inst-*.tar.bz2 file is what you need), and run 

cd / 
tar --backup -xjf /wherever-you-have-saved-it/cygwin-inst-*.tar.bz2 
cd $ROOTSYS 
gmake distclean && gmake 

Cheers, Axel.

> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch 
> [mailto:owner-roottalk@pcroot.cern.ch] On Behalf Of Rene Brun
> Sent: Saturday, November 22, 2003 4:01 PM
> To: Yangheng Zheng
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] Build ROOT 3.10.01 with win32gcc under 
> Cygwin 1.5.5-1
> 
> 
> Hi,
> 
> I have no problems installing the win32gcc version. In the roottalk 
> forum Axel Naumann has indicated to not use gcc3.3.
> I suggest to do: 
> make distclean
> ./configure win32gcc
> make -k
> 
> If you still have problems, send the output
> of the confifure command, as well as the ouput of make -k
> 
> Rene Brun
> 
> On Fri, 21 Nov 
> 2003, 
> Yangheng Zheng wrote:
> 
> > Hi,
> > 
> > I was trying to build ROOT 3.10.01 on my PC but failed. Details are 
> > listed as follows.
> > 
> > OS: Windows XP pro
> > Cygwin version: 1.5.5-1
> > gcc version: 3.3.1
> > ROOT source version: 3.10.01
> > 
> > commands excuted for compiling:
> > 
> > export ROOTSYS=/usr/root
> > export PATH=$ROOTSYS/bin:$PATH
> > export INCLUDE=$ROOTSYS/include:$INCLUDE
> > 
> > ./configure win32gcc
> > make
> > 
> > Error messages:
> > .
> > .
> > .
> > Generating dictionary thread/src/G__Thread.cxx... 
> > utils/src/rootcint_tmp.exe -f thread/src/G__Thread.cxx -c 
> > thread/inc/PosixThreadInc.h thread/inc/TCondition.h 
> > thread/inc/TConditionImp.h thread/inc/TMutex.h 
> thread/inc/TMutexImp.h 
> > thread/inc/TPosixCondition.h thread/inc/TPosixMutex.h 
> > thread/inc/TPosixThread.h thread/inc/TPosixThreadFactory.h 
> > thread/inc/TRWLock.h thread/inc/TSemaphore.h thread/inc/TThread.h 
> > thread/inc/TThreadFactory.h thread/inc/TThreadImp.h 
> > thread/inc/LinkDef.h
> > Error: unrecognized language construct 
> FILE:base/inc/TStorage.h LINE:77
> > Error: Function BIT(0) is 
> not defined in current scope
> > FILE:base/inc/TObject.h LINE:60
> > Possible candidates are...
> > filename       line:size busy function type and name  
> > Error: Function BIT(3) is not defined in current scope
> > FILE:base/inc/TObject.h LINE:61
> > Possible candidates are...
> > filename       line:size busy function type and name  
> > .
> > .
> > .
> > 
> > !!!Removing thread/src/G__Thread.cxx thread/src/G__Thread.h !!!
> > Error: utils/src/rootcint_tmp: error loading headers...
> > make: *** [thread/src/G__Thread.cxx] Error 1
> > 
> > 
> > I also tried to downgrade my gcc version to 3.2.3 and got exact the 
> > same problem. Can anybody help me out?
> > 
> > Thanks,
> > Yangheng
> > 
> > 
> 
> 



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