Re: [ROOT] Compiling ROOT under the cygwin environment using Visual C++ .NET

From: Valeri Fine (fine@bnl.gov)
Date: Mon Mar 25 2002 - 21:56:56 MET


This sounds you compile the C code with C++ mangling.
Can not check ? I have no VC++ v7.0 yet.

             Best regards, Valeri

-----
Dr.Valeri Fine
STAR/US Atlas                                    E-mail: fine@bnl.gov
Brookhaven National Lab                Phone: +1 631 344 7806
Upton, NY 11973-5000                       FAX:     +1 631 344 4206
USA



----- Original Message ----- 
From: "Glen R. Salo" <gsalo@mrcstl.com>
To: <roottalk@pcroot.cern.ch>
Sent: Monday, March 25, 2002 3:46 PM
Subject: [ROOT] Compiling ROOT under the cygwin environment using Visual C++ .NET


> Hi,
> 
> I am having a difficult time trying to compile ROOT with Visual C++ .NET
> in the cygwin environment using WinNT.  Although one user (Peter Lipa) has
> reported success in compiling ROOT with Visual C++ .NET, I am unable to
> repeat his success.  When creating libCint.dll, there appears to be
> undefined symbols as illustrated in the following output.  These symbols
> are included in the lib/libCint.def file (a portion of which is shown
> below).  Any help in getting ROOT to compile is greatly appreciated.
> 
> Thanks,
> 
> Glen
> 
> *** OUTPUT from make ***
> bin/bindexplib libCint 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.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/winnt.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/vcstrm.o > lib/libCint.def
> 
> lib -nologo -MACHINE:IX86 -out:lib/libCint.lib 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.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/winnt.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/vcstrm.o
> -def:lib/libCint.def
> 
> lib/libCint.def(2) : warning LNK4017: EXETYPE statement not supported for
> the target platform; ignored
> 
>    Creating library lib/libCint.lib and object lib/libCint.exp
> build/win/ld.sh -DLL -nologo -incremental:no -nodefaultlib:libc.lib
> -nodefaultlib:dfor.lib -o bin/libCint.dll 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.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/winnt.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/vcstrm.o
> lib/libCint.exp msvcrt.lib oldnames.lib kernel32.lib advapi32.lib
> user32.lib gdi32.lib comdlg32.lib winspool.lib comctl32.lib
> 
> libCint.exp : error LNK2001: unresolved external symbol
> _CT??_R0?AVexception@@@8??0exception@@QAE@ABV0@@Z12
> libCint.exp : error LNK2001: unresolved external symbol
> _CT??_R0?AVlength_error@std@@@8??0length_error@std@@QAE@ABV01@@Z40
> libCint.exp : error LNK2001: unresolved external symbol
> _CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QAE@ABV01@@Z40
> libCint.exp : error LNK2001: unresolved external symbol
> _CT??_R0?AVout_of_range@std@@@8??0out_of_range@std@@QAE@ABV01@@Z40
> libCint.exp : error LNK2001: unresolved external symbol
> _CTA3?AVlength_error@std@@
> libCint.exp : error LNK2001: unresolved external symbol
> _CTA3?AVout_of_range@std@@
> libCint.exp : error LNK2001: unresolved external symbol
> _TI3?AVlength_error@std@@
> libCint.exp : error LNK2001: unresolved external symbol
> _TI3?AVout_of_range@std@@
> bin\libCint.dll : fatal error LNK1120: 8 unresolved externals
> 
> 
> *** snippet from lib/libCint.def ***
>        
> ?_Insert@?$_Tree@V?$_Tset_traits@V?$basic_string@DU?$char_traits@D@std@@V?$
> allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$alloc
> ator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$al
> locator@D@2@@std@@@2@$0A@@std@@@std@@IAE?AViterator@12@_NPAU_Node@?$_Tree_n
> od@V?$_Tset_traits@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@
> @std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
> @@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@s
> td@@@2@$0A@@std@@@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D
> @2@@2@@Z
>         _CT??_R0?AVexception@@@8??0exception@@QAE@ABV0@@Z12
>         ??_R0?AVlogic_error@std@@@8      DATA
>         _CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QAE@ABV01@@Z40
>         ??_R0?AVlength_error@std@@@8     DATA
>         _CT??_R0?AVlength_error@std@@@8??0length_error@std@@QAE@ABV01@@Z40
>         _CTA3?AVlength_error@std@@
>         _TI3?AVlength_error@std@@
>         ??_C@_0BE@JONHPENG@map?1set?$DMT?$DO?5too?5long?$AA@     DATA
>        
> ??0length_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$alloca
> tor@D@2@@1@@Z
> 
> 



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