Building ROOT on windows using INTEL Compiler

hi ,
I have been tring to build ROOT on windows 32 bit machine using the intel compiler . I have followed the same steps as for the MSVC .
The changes made to Makefile.win32 are as follows

CC=icl
CXX=icl
LD=icl

Changes made to /build/win/makelib.sh

if [ “$R__LD” = “icl” ]; then

Following are the errors encountered .

bin/bindexplib libCint cint/src/g__cfunc.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/Method.o cint/src/MethodAr.o cint/src/Shadow.o cint/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/bc_assign.o cint/src/bc_autoobj.o cint/src/bc_cfunc.o cint/src/bc_debug.o cint/src/bc_eh.o cint/src/bc_exec.o cint/src/bc_inst.o cint/src/bc_item.o cint/src/bc_parse.o cint/src/bc_reader.o cint/src/bc_type.o cint/src/bc_vtbl.o cint/src/rflx_gendict.o cint/src/rflx_gensrc.o cint/src/rflx_tools.o cint/src/v6_auxu.o cint/src/v6_cast.o cint/src/v6_debug.o cint/src/v6_decl.o cint/src/v6_disp.o cint/src/v6_dump.o cint/src/v6_end.o cint/src/v6_error.o cint/src/v6_expr.o cint/src/v6_fread.o cint/src/v6_func.o cint/src/v6_gcoll.o cint/src/v6_global1.o cint/src/v6_global2.o cint/src/v6_ifunc.o cint/src/v6_inherit.o cint/src/v6_init.o cint/src/v6_input.o cint/src/v6_intrpt.o cint/src/v6_loadfile.o cint/src/v6_macro.o cint/src/v6_malloc.o cint/src/v6_memtest.o cint/src/v6_new.o cint/src/v6_newlink.o cint/src/v6_oldlink.o cint/src/v6_opr.o cint/src/v6_parse.o cint/src/v6_pause.o cint/src/v6_pcode.o cint/src/v6_pragma.o cint/src/v6_quote.o cint/src/v6_scrupto.o cint/src/v6_shl.o cint/src/v6_sizeof.o cint/src/v6_stdstrct.o cint/src/v6_struct.o cint/src/v6_stub.o cint/src/v6_tmplt.o cint/src/v6_typedef.o cint/src/v6_val2a.o cint/src/v6_value.o cint/src/v6_var.o cint/src/v6_winnt.o cint/src/longif3.o cint/src/vc7strm.o > lib/libCint.def
lib -ignore:4049,4206,4217,4221 -nologo -MACHINE:IX86 -out:lib/libCint.lib cint/src/g__cfunc.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/Method.o cint/src/MethodAr.o cint/src/Shadow.o cint/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/bc_assign.o cint/src/bc_autoobj.o cint/src/bc_cfunc.o cint/src/bc_debug.o cint/src/bc_eh.o cint/src/bc_exec.o cint/src/bc_inst.o cint/src/bc_item.o cint/src/bc_parse.o cint/src/bc_reader.o cint/src/bc_type.o cint/src/bc_vtbl.o cint/src/rflx_gendict.o cint/src/rflx_gensrc.o cint/src/rflx_tools.o cint/src/v6_auxu.o cint/src/v6_cast.o cint/src/v6_debug.o cint/src/v6_decl.o cint/src/v6_disp.o cint/src/v6_dump.o cint/src/v6_end.o cint/src/v6_error.o cint/src/v6_expr.o cint/src/v6_fread.o cint/src/v6_func.o cint/src/v6_gcoll.o cint/src/v6_global1.o cint/src/v6_global2.o cint/src/v6_ifunc.o cint/src/v6_inherit.o cint/src/v6_init.o cint/src/v6_input.o cint/src/v6_intrpt.o cint/src/v6_loadfile.o cint/src/v6_macro.o cint/src/v6_malloc.o cint/src/v6_memtest.o cint/src/v6_new.o cint/src/v6_newlink.o cint/src/v6_oldlink.o cint/src/v6_opr.o cint/src/v6_parse.o cint/src/v6_pause.o cint/src/v6_pcode.o cint/src/v6_pragma.o cint/src/v6_quote.o cint/src/v6_scrupto.o cint/src/v6_shl.o cint/src/v6_sizeof.o cint/src/v6_stdstrct.o cint/src/v6_struct.o cint/src/v6_stub.o cint/src/v6_tmplt.o cint/src/v6_typedef.o cint/src/v6_val2a.o cint/src/v6_value.o cint/src/v6_var.o cint/src/v6_winnt.o cint/src/longif3.o cint/src/vc7strm.o -def:lib/libCint.def
Creating library lib/libCint.lib and object lib/libCint.exp
icl -DLL -nologo -ignore:4049,4075,4217,4221 -incremental:no -debug -o bin/libCint.dll cint/src/g__cfunc.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/Method.o cint/src/MethodAr.o cint/src/Shadow.o cint/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/bc_assign.o cint/src/bc_autoobj.o cint/src/bc_cfunc.o cint/src/bc_debug.o cint/src/bc_eh.o cint/src/bc_exec.o cint/src/bc_inst.o cint/src/bc_item.o cint/src/bc_parse.o cint/src/bc_reader.o cint/src/bc_type.o cint/src/bc_vtbl.o cint/src/rflx_gendict.o cint/src/rflx_gensrc.o cint/src/rflx_tools.o cint/src/v6_auxu.o cint/src/v6_cast.o cint/src/v6_debug.o cint/src/v6_decl.o cint/src/v6_disp.o cint/src/v6_dump.o cint/src/v6_end.o cint/src/v6_error.o cint/src/v6_expr.o cint/src/v6_fread.o cint/src/v6_func.o cint/src/v6_gcoll.o cint/src/v6_global1.o cint/src/v6_global2.o cint/src/v6_ifunc.o cint/src/v6_inherit.o cint/src/v6_init.o cint/src/v6_input.o cint/src/v6_intrpt.o cint/src/v6_loadfile.o cint/src/v6_macro.o cint/src/v6_malloc.o cint/src/v6_memtest.o cint/src/v6_new.o cint/src/v6_newlink.o cint/src/v6_oldlink.o cint/src/v6_opr.o cint/src/v6_parse.o cint/src/v6_pause.o cint/src/v6_pcode.o cint/src/v6_pragma.o cint/src/v6_quote.o cint/src/v6_scrupto.o cint/src/v6_shl.o cint/src/v6_sizeof.o cint/src/v6_stdstrct.o cint/src/v6_struct.o cint/src/v6_stub.o cint/src/v6_tmplt.o cint/src/v6_typedef.o cint/src/v6_val2a.o cint/src/v6_value.o cint/src/v6_var.o cint/src/v6_winnt.o cint/src/longif3.o cint/src/vc7strm.o lib/libCint.exp kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib comctl32.lib

libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVG__bc_compile_error@@@81
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVG__bc_exception@@@832
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVG__bc_runtime_error@@@81
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVbad_cast@@@8bad_cast@12
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVexception@@@8exception@12
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVlength_error@std@@@8length_error@40
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVlogic_error@std@@@8logic_error@40
libCint.exp : error LNK2001: unresolved external symbol _CT??_R0?AVout_of_range@std@@@8out_of_range@40
libCint.exp : error LNK2001: unresolved external symbol _CTA1?AVG__bc_compile_error@@
libCint.exp : error LNK2001: unresolved external symbol _CTA1?AVG__bc_exception@@
libCint.exp : error LNK2001: unresolved external symbol _CTA1?AVG__bc_runtime_error@@
libCint.exp : error LNK2001: unresolved external symbol _CTA2?AVbad_cast@@
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 _TI1?AVG__bc_compile_error@@
libCint.exp : error LNK2001: unresolved external symbol _TI1?AVG__bc_exception@@
libCint.exp : error LNK2001: unresolved external symbol _TI1?AVG__bc_runtime_error@@
libCint.exp : error LNK2001: unresolved external symbol _TI2?AVbad_cast@@
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: 20 unresolved externals


Are there some other steps that i need to do ? I am not able to understand from where these symbols are taken ? What steps am i lacking on ?

Thanks in advance

Hi,

I don’t have access to Intels Windows compiler. A coarse check with the incredibly hard to find compiler docs shows that -DLL will be (mis)interpreted as “#define LL” - which is definitely not what you want. So in Makefile.win32, replace “-DLL” by “-LD”, run “make distclean && make”. This might or might not have an influence on the error message you see.

Once you have a version of Makefile.win32 which works please send it over, so it can be added to the list of supported platforms.

Cheers, Axel.

Well, that did not seem to help me … Shall work on it as and i get a chance … Thanks