Re: [ROOT] building Root v4.00/06a with CygWin gcc-3.3.1

From: Axel Naumann (naumann@hef.kun.nl)
Date: Wed Jun 30 2004 - 17:55:51 MEST


Hi,

I have no problem building win32gcc, i.e. I can't reproduce this. Could 
you call "make distclean; make"? If that doesn't help: could you send me 
personally (not the list) your $ROOTSYS/bin/libCore.dll and 
$ROOTSYS/lib/libCore.dll.a, please?

Cheers, Axel.

Mateusz Ploskon wrote:
> 
> Helo,
> I tried to build the new Root inside cygwin and failed... here come the 
> specs...
>  
> $gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
> Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld 
> --with-gnu-as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc 
> --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man 
> --infodir=/usr/share/info 
> --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj 
> --enable-threads=posix --with-system-zlib --enable-nls 
> --without-included-gettext --enable-interpreter --enable-sjlj-exceptions 
> --disable-version-specific-runtime-libs --enable-shared 
> --disable-win32-registry --enable-java-gc=boehm 
> --disable-hash-synchronization --verbose --target=i686-pc-cygwin 
> --host=i686-pc-cygwin --build=i686-pc-cygwin
> Thread model: posix
> gcc version 3.3.1 (cygming special)
>  
> 
> $ld -v
> GNU ld version 2.14.90 20031129
>  
>  
> The build error part follows:
> 
> build/unix/wingcc_ld.sh -shared -Wl,-soname,libHist.dll -g 
> --Wl,--enable-auto-image-base -Wl,--export-all-symbols -L/usr/X11R6/lib 
> -o lib/libHist.dll hist/src/Haxis.o hist/src/TAxis.o 
> hist/src/TConfidenceLevel.o hist/src/TF1.o hist/src/TF12.o 
> hist/src/TF2.o hist/src/TF3.o hist/src/TFormula.o 
> hist/src/TFractionFitter.o hist/src/TGraph2D.o hist/src/TGraph2DErrors.o 
> hist/src/TGraphDelaunay.o hist/src/TH1.o hist/src/TH1K.o hist/src/TH2.o 
> hist/src/TH3.o hist/src/THLimitsFinder.o hist/src/THStack.o 
> hist/src/TLimit.o hist/src/TLimitDataSource.o hist/src/TMultiDimFit.o 
> hist/src/TPolyMarker.o hist/src/TPrincipal.o hist/src/TProfile.o 
> hist/src/TProfile2D.o hist/src/TSpectrum.o hist/src/TUtilHist.o 
> hist/src/TVirtualHistPainter.o hist/src/G__Hist.o -Llib -lMatrix -Llib 
> -lCore -lCint
> hist/src/TAxis.o(.text$_ZN5TIterC1EPK11TCollectionb+0x11): In function 
> `_ZN8TAttAxisC2ERKS_':
> /opt/root/include/TNamed.h: variable 'vtable for TIter' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TAxis.o(.text$_ZN5TIterD1Ev+0xb):/opt/root/include/TNamed.h: 
> variable 'vtable for TIter' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TAxis.o(.text$_ZN6TNamedC2Ev+0x4c):/opt/root/include/TNamed.h: 
> variable 'vtable for TNamed' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TAxis.o(.text$_ZN6TNamedD2Ev+0x3a):/opt/root/include/TNamed.h: 
> variable 'vtable for TNamed' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TFormula.o(.text$_ZN6TNamedC2EPKcS1_+0x4c): In function 
> `_ZN7TString10ReplaceAllERKS_S1_':
> /opt/root/include/TString.h: variable 'vtable for TNamed' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TAxis.o(.text$_ZN8TAttAxisC2ERKS_+0x8): In function 
> `_ZN8TAttAxisC2ERKS_':
> /opt/root/include/TNamed.h: variable 'vtable for TAttAxis' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TAxis.o(.text$_ZN10TObjStringC1EPKc+0x4c):/opt/root/include/TNamed.h: 
> variable 'vtable for TObjString' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TF1.o(.text$_ZN8TAttLineC2ERKS_+0x8): In function `_ZN3TF1C2Ev':
> /opt/root/hist/src/TF1.cxx:125: variable 'vtable for TAttLine' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TF1.o(.text$_ZN8TAttFillC2ERKS_+0x8):/opt/root/hist/src/TF1.cxx:125: 
> variable 'vtable for TAttFill' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TF1.o(.text$_ZN10TAttMarkerC2ERKS_+0x8):/opt/root/hist/src/TF1.cxx:125: 
> variable 'vtable for TAttMarker' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TF3.o(.text$_ZN8TVectorDD1Ev+0x3a): In function 
> `_ZNK7TObject7TestBitEj':
> /opt/root/include/TVectorD.h: variable 'vtable for TVectorD' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text$_ZN8TVectorDC1Ev+0x16): In function 
> `_ZNK7TString8ContainsEPKcNS_12ECaseCompareE':
> /opt/root/include/TString.h: variable 'vtable for TVectorD' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TFormula.o(.text$_ZN7TStringC1ERKS_+0xb): In function 
> `_ZN7TString10ReplaceAllERKS_S1_':
> /opt/root/include/TString.h: variable 'vtable for TString' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> Info: resolving _gStyle by linking to __imp__gStyle (auto-import)
> Info: resolving vtable for TIterby linking to __imp___ZTV5TIter 
> (auto-import)
> Info: resolving vtable for TNamedby linking to __imp___ZTV6TNamed 
> (auto-import)
> Info: resolving vtable for TAttAxisby linking to __imp___ZTV8TAttAxis 
> (auto-import)
> Info: resolving vtable for TObjStringby linking to 
> __imp___ZTV10TObjString (auto-import)
> Info: resolving _gROOT by linking to __imp__gROOT (auto-import)
> Info: resolving _gRandom by linking to __imp__gRandom (auto-import)
> Info: resolving vtable for TAttLineby linking to __imp___ZTV8TAttLine 
> (auto-import)
> Info: resolving vtable for TAttFillby linking to __imp___ZTV8TAttFill 
> (auto-import)
> Info: resolving vtable for TAttMarkerby linking to 
> __imp___ZTV10TAttMarker (auto-import)
> Info: resolving vtable for TVectorDby linking to __imp___ZTV8TVectorD 
> (auto-import)
> Info: resolving _kAssertMsg by linking to __imp__kAssertMsg (auto-import)
> Info: resolving vtable for TStringby linking to __imp___ZTV7TString 
> (auto-import)
> Info: resolving _gDirectory by 
> lhist/src/TGraph2D.o(.text$_ZN5TListC1Ev+0x16): In function 
> `_ZN8TGraph2DC2Ev':
> /opt/root/hist/src/TGraph2D.cxx:145: variable 'vtable for TList' can't 
> be auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TGraph2D.o(.text$_ZN14TSeqCollectionC2Ev+0x16):/opt/root/hist/src/TGraph2D.cxx:145: 
> variable 'vtable for TSeqCollection' can't be auto-imported. Please read 
> the documentation for ld's --enable-auto-import for details.
> hist/src/TGraph2D.o(.text$_ZN11TCollectionC2Ev+0x4c):/opt/root/hist/src/TGraph2D.cxx:147: 
> variable 'vtable for TCollection' can't be auto-imported. Please read 
> the documentation for ld's --enable-auto-import for details.
> hist/src/TH3.o(.text$_ZN6TAtt3DC2Ev+0x8): In function `_ZThn28_N4TH3DD0Ev':
> /opt/root/hist/src/TH3.cxx: variable 'vtable for TAtt3D' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TH3.o(.text$_ZN6TAtt3DD2Ev+0xb):/opt/root/hist/src/TH3.cxx: 
> variable 'vtable for TAtt3D' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text+0x5d02): In function 
> `_ZN12TMultiDimFit21MakeCoefficientErrorsEv':
> /opt/root/hist/src/TMultiDimFit.cxx:2565: variable 'vtable for TMatrixD' 
> can't be auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text+0x5dbc):/opt/root/hist/src/TMultiDimFit.cxx:2567: 
> variable 'vtable for TMatrixD' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text+0x5dea):/opt/root/hist/src/TMultiDimFit.cxx:2567: 
> variable 'vtable for TMatrixD' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text+0x6077):/opt/root/hist/src/TMultiDimFit.cxx:2591: 
> variable 'vtable for TMatrixD' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text$_ZN8TMatrixDC1Ev+0x16): In function 
> `_ZNK7TString8ContainsEPKcNS_12ECaseCompareE':
> /opt/root/include/TString.h: variable 'vtable for TMatrixD' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text$_ZN8TMatrixDD1Ev+0x3a):/opt/root/include/TString.h: 
> variable 'vtable for TMatrixD' can't be auto-imported. Please read the 
> documentation for ld's --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text$_ZN12TMatrixDBaseC2Ev+0x19):/opt/root/include/TString.h: 
> variable 'vtable for TMatrixDBase' can't be auto-imported. Please read 
> the documentation for ld's --enable-auto-import for details.
> hist/src/TMultiDimFit.o(.text$_ZN12TMatrixDBaseD2Ev+0xb):/opt/root/include/TString.h: 
> variable 'vtable for TMatrixDBase' can't be auto-imported. Please read 
> the documentation for ld's --enable-auto-import for details.
> hist/src/TPrincipal.o(.text$_ZN11TMatrixDSymC1Ev+0x16): In function 
> `_ZNK7TString4DataEv':
> /opt/root/include/TMath.h: variable 'vtable for TMatrixDSym' can't be 
> auto-imported. Please read the documentation for ld's 
> --enable-auto-import for details.
> hist/src/TPrincipal.o(.text$_ZN11TMatrixDSymD1Ev+0x3a):/opt/root/include/TMath.h: 
> variable 'vtable for TMatrixDSym' can't be auto-imported. Please read 
> the documentation for ld's --enable-auto-import for details.
> hist/src/TPrincipal.o(.text$_ZN16TMatrixDSymEigenD1Ev+0x3a):/opt/root/include/TMath.h: 
> variable 'vtable for TMatrixDSymEigen' can't be auto-imported. Please 
> read the documentation for ld's --enable-auto-import for details.
> hist/src/G__Hist.o(.text$_ZN16TVirtualUtilHistC2ERKS_+0x1d):G__Hist.cxx: 
> variable 'vtable for TVirtualUtilHist' can't be auto-imported. Please 
> read the documentation for ld's --enable-auto-import for details.
> Creating library file: lib/libHist.dll.a
> inking to __imp__gDirectory (auto-import)
> Info: resolving vtable for TListby linking to __imp___ZTV5TList 
> (auto-import)
> Info: resolving vtable for TSeqCollectionby linking to 
> __imp___ZTV14TSeqCollection (auto-import)
> Info: resolving vtable for TCollectionby linking to 
> __imp___ZTV11TCollection (auto-import)
> Info: resolving vtable for TAtt3Dby linking to __imp___ZTV6TAtt3D 
> (auto-import)
> Info: resolving vtable for TMatrixDby linking to __imp___ZTV8TMatrixD 
> (auto-import)
> Info: resolving vtable for TMatrixDBaseby linking to 
> __imp___ZTV12TMatrixDBase (auto-import)
> Info: resolving vtable for TMatrixDSymby linking to 
> __imp___ZTV11TMatrixDSym (auto-import)
> Info: resolving vtable for TMatrixDSymEigenby linking to 
> __imp___ZTV16TMatrixDSymEigen (auto-import)
> Info: resolving vtable for TVirtualUtilHistby linking to 
> __imp___ZTV16TVirtualUtilHist (auto-import)
> collect2: ld returned 1 exit status
> make: *** [lib/libHist.dll] Error 1
> I read the man pages of ld and the best suggestions concern interference 
> in the Root - either code or the Makefiles... has anyone tried the same 
> thing yet? I would appreciate any info...
>  
> Best regards!
>  
> Mateusz



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET