I googled for "wrong ELF class: ELFCLASS32", and what I get from this is that the problem likely is about some kind of 64bit/32bit mismatch. Probably your perl interpreter is a 64bit version (the -D_FILE_OFFSET_BITS=64 compiler directive has to come from somewhere, but this is only guesswork) while the AR libraries are 32bit.
Unfortunately I barely know anything about this kind of problem, but you might get a solution from googling for the error message yourself. Regards, Thilo [EMAIL PROTECTED] wrote: > Hi, > > Thanks for uploading v1.91. I have downloaded and run the 1st command > perl Makefile.PL without an error. I have the following error when I run > the "make" command: > > make > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm > cp ARSnparm.pm blib/lib/ARSnparm.pm > cp artypes.ph blib/lib/artypes.ph > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph > cp ARSar-h.pm blib/lib/ARSar-h.pm > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm > cp ARSnt-h.pm blib/lib/ARSnt-h.pm > cp ARSOOsup.pm blib/lib/ARSOOsup.pm > cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm > cp ARSOOform.pm blib/lib/ARSOOform.pm > cp ARS.pm blib/lib/ARS.pm > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) > /opt1/app/perl/bin/perl /opt1/app/perl/lib/5.8.8/ExtUtils/xsubpp > -typemap /opt1/app/perl/lib/5.8.8/ExtUtils/typemap -typemap typema > p ARS.xs > ARS.xsc && mv ARS.xsc ARS.c > gcc -c -I/opt1/app/dbsmwvztdd03/api/include -fno-strict-aliasing -pipe > -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_O > FFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV > -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > "-I/opt1/app/perl/lib/5.8.8/sun4-solaris/CORE" -g > -Wno-unused-variable -Wunini > tialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 > -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c > ARS.xs: In function `XS_ARS_ars_CreateField': > ARS.xs:3848: warning: passing arg 3 of `ulongcpyHVal' from incompatible > pointer type > ARS.xs:3817: warning: 'createMode' might be used uninitialized in this > function > ARS.xs: In function `XS_ARS_ars_CreateVUI': > ARS.xs:4593: warning: passing arg 3 of `ulongcpyHVal' from incompatible > pointer type > ARS.xs: In function `XS_ARS_ars_CreateActiveLink': > ARS.xs:5236: warning: passing arg 3 of `ulongcpyHVal' from incompatible > pointer type > ARS.xs:5239: warning: passing arg 3 of `ulongcpyHVal' from incompatible > pointer type > ARS.xs: In function `XS_ARS_ars_SetActiveLink': > ARS.xs:5413: warning: passing arg 3 of `ulongcpyHVal' from incompatible > pointer type > ARS.xs:5417: warning: passing arg 3 of `ulongcpyHVal' from incompatible > pointer type > ARS.xs: In function `XS_ARS_ars_CreateEscalation': > ARS.xs:5848: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs:5851: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs:5852: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs:5853: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs: In function `XS_ARS_ars_SetEscalation': > ARS.xs:5993: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs:5997: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs:5998: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > ARS.xs:5999: warning: passing arg 3 of `longcpyHVal' from incompatible > pointer type > gcc -c -I/opt1/app/dbsmwvztdd03/api/include -fno-strict-aliasing -pipe > -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_O > FFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV > -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > "-I/opt1/app/perl/lib/5.8.8/sun4-solaris/CORE" -g > -Wno-unused-variable -Wunini > tialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 > -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 support.c > support.c: In function `debug_free': > support.c:106: warning: cast from pointer to integer of different size > support.c: In function `set_logging_file_ptr': > support.c:135: warning: cast from pointer to integer of different size > support.c: In function `sv_to_ARValue': > support.c:3801: warning: passing arg 2 of `Perl_sv_2pv_flags' from > incompatible pointer type > support.c: In function `perl_ARBulkEntryReturn': > support.c:4272: warning: 'ret' might be used uninitialized in this > function > support.c: In function `perl_ARCharMenuStruct': > support.c:4519: warning: 'ret' might be used uninitialized in this > function > gcc -c -I/opt1/app/dbsmwvztdd03/api/include -fno-strict-aliasing -pipe > -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_O > FFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV > -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > "-I/opt1/app/perl/lib/5.8.8/sun4-solaris/CORE" -g > -Wno-unused-variable -Wunini > tialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 > -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 supportrev.c > supportrev.c: In function `rev_ARAssignList_helper': > supportrev.c:1038: warning: passing arg 3 of `ulongcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARValueStruct': > supportrev.c:1244: warning: passing arg 2 of `Perl_sv_2pv_flags' from > incompatible pointer type > supportrev.c: In function `rev_ARValueStructDiary': > supportrev.c:1414: warning: passing arg 3 of `longcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARByteList': > supportrev.c:1474: warning: passing arg 3 of `rev_ARByteListStr2Type' > from incompatible pointer type > supportrev.c: In function `rev_ARAssignFieldStruct_helper': > supportrev.c:1691: warning: passing arg 3 of `ulongcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARStatHistoryValue_helper': > supportrev.c:1849: warning: passing arg 3 of `ulongcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARFilterStatusStruct': > supportrev.c:2121: warning: passing arg 3 of `longcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARStatusStruct': > supportrev.c:2177: warning: passing arg 3 of `longcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARMessageStruct': > supportrev.c:2258: warning: passing arg 3 of `longcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARFieldCharacteristics': > supportrev.c:2316: warning: passing arg 3 of `ulongcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARPropList_helper': > supportrev.c:2427: warning: passing arg 3 of `ulongcpyHVal' from > incompatible pointer type > supportrev.c: In function `rev_ARDisplayInstanceStruct': > supportrev.c:2726: warning: passing arg 3 of `ulongcpyHVal' from > incompatible pointer type > gcc -c -I/opt1/app/dbsmwvztdd03/api/include -fno-strict-aliasing -pipe > -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_O > FFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV > -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > "-I/opt1/app/perl/lib/5.8.8/sun4-solaris/CORE" -g > -Wno-unused-variable -Wunini > tialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 > -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 supportrev_generated.c > Running Mkbootstrap for ARS () > chmod 644 ARS.bs > rm -f blib/arch/auto/ARS/ARS.so > LD_RUN_PATH="/usr/lib:/opt1/app/dbsmwvztdd03/api/lib" gcc -G > -L/usr/local/lib ARS.o support.o supportrev.o supportrev_generated.o / > opt1/app/dbsmwvztdd03/api/lib/libar.a -o blib/arch/auto/ARS/ARS.so > \ > -L/opt1/app/dbsmwvztdd03/api/lib -lpthread -licuucbmc -licui18nbmc > \ > > ld: warning: file /opt1/app/dbsmwvztdd03/api/lib/libar.a(ar.o): wrong > ELF class: ELFCLASS32 > ld: fatal: file /opt1/app/dbsmwvztdd03/api/lib/libicuucbmc.so: wrong ELF > class: ELFCLASS32 > ld: fatal: file /opt1/app/dbsmwvztdd03/api/lib/libicui18nbmc.so: wrong > ELF class: ELFCLASS32 > ld: fatal: File processing errors. No output written to > blib/arch/auto/ARS/ARS.so > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `blib/arch/auto/ARS/ARS.so' > > > Please advise on a way to resolve this error. > Thank you, > > Tom > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of jeff murphy > Sent: Tuesday, May 06, 2008 3:38 PM > To: ARSperl User Discussion > Subject: Re: [Arsperl-users] ARSperl 1.90 Installation Error > > I uploaded v1.91 to CPAN and SF so people won't have to go to CVS for > it. > > jeff > > > On May 6, 2008, at 1:35 PM, Thilo Stapff wrote: > >> It looks like you are trying to compile ARSperl against the 7.1 API >> which doesn't work with ARSperl 1.90. >> >> >> Alternatively you might download the developer version of ARSperl via >> CVS, which can be compiled with the ARS 7.1 API >>> > > > The information contained in this message and any attachment may be > proprietary, confidential, and privileged or subject to the work > product doctrine and thus protected from disclosure. If the reader > of this message is not the intended recipient, or an employee or > agent responsible for delivering this message to the intended > recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. > If you have received this communication in error, please notify me > immediately by replying to this message and deleting it and all > copies and backups thereof. Thank you. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Arsperl-users mailing list > Arsperl-users@arsperl.org > https://lists.sourceforge.net/lists/listinfo/arsperl-users > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users