Re: [Arsperl-users] trying to compile ARSperl 1.93 against ARS 7.5
Brought to you by:
jeffmurphy
|
From: Victor D. C. <vd...@st...> - 2013-12-06 15:43:08
|
That error isn't related to 32 vs 64 bit. There's a bunch of hidden OS X files in the repo that will trip up compilation. Before compiling I have to do a find for "._*" files and exec rm them. There's also an edit you must make to the ARS.xs file to compile properly. -Victor > On Dec 6, 2013, at 1:00 AM, "Serouche Rahimpour" <ser...@gm...> wrote: > > Dear list, > > I tried to compile but got the following error. > I have alreday red that you may not compile against a 64bits except if you > hack around a bit. > But that's what exactly what could not find : what do I need to hack? > Please advice. > Best regards > Siriche > > PS: not very easy to search in the lists archive is there any advanced > search or handier way of finding old posts? > > > [remedy@remmp ARSperl-1.93]$ make > Skip blib/lib/ARS/ar-h.pm (unchanged) > Skip blib/lib/ARS/OOform.pm (unchanged) > Skip blib/lib/ARS/OOsup.pm (unchanged) > Skip blib/lib/ARS.pm (unchanged) > Skip blib/lib/ARS/arerrno-h.pm (unchanged) > Skip blib/lib/ARS/nparm.pm (unchanged) > Skip blib/lib/ARS/OOmsgs.pm (unchanged) > cc -c -I/home/remedystats/tmp/api750p007linux/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" > -DXS_VERSION=\"1.93\" -fPIC > "-I/home/remedystats/perl/lib/5.18.1/x86_64-linux/CORE" -g > -DARSPERL_DEBUG -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=18 > -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c > ARS.xs: In function âXS_ARS_ars_CreateFieldâ: > ARS.xs:4405: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.h:53: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > ARS.xs: In function âXS_ARS_ars_CreateVUIâ: > ARS.xs:5181: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.h:53: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > ARS.xs: In function âXS_ARS_ars_CreateActiveLinkâ: > ARS.xs:5848: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.h:53: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > ARS.xs:5851: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.h:53: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > ARS.xs: In function âXS_ARS_ars_SetActiveLinkâ: > ARS.xs:6040: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.h:53: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > ARS.xs:6044: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.h:53: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > ARS.xs: In function âXS_ARS_ars_CreateEscalationâ: > ARS.xs:6492: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs:6495: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs:6496: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs:6497: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs: In function âXS_ARS_ars_SetEscalationâ: > ARS.xs:6642: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs:6646: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs:6647: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > ARS.xs:6648: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.h:52: note: expected âlong int *â but argument is of type > âARLong32 *â > cc -c -I/home/remedystats/tmp/api750p007linux/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" > -DXS_VERSION=\"1.93\" -fPIC > "-I/home/remedystats/perl/lib/5.18.1/x86_64-linux/CORE" -g > -DARSPERL_DEBUG -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=18 > -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 support.c > support.c: In function âdebug_freeâ: > support.c:103: warning: cast from pointer to integer of different size > support.c: In function âset_logging_file_ptrâ: > support.c:132: warning: cast from pointer to integer of different size > support.c: In function âsv_to_ARValueâ: > support.c:3948: warning: passing argument 2 of âPerl_sv_2pv_flagsâ from > incompatible pointer type > /home/remedystats/perl/lib/5.18.1/x86_64-linux/CORE/proto.h:3834: note: > expected âSTRLEN * constâ but argument is of type âunsigned int *â > cc -c -I/home/remedystats/tmp/api750p007linux/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" > -DXS_VERSION=\"1.93\" -fPIC > "-I/home/remedystats/perl/lib/5.18.1/x86_64-linux/CORE" -g > -DARSPERL_DEBUG -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=18 > -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 supportrev.c > supportrev.c: In function ârev_ARAssignList_helperâ: > supportrev.c:1047: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.c:425: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > supportrev.c: In function ârev_ARValueStructDiaryâ: > supportrev.c:1429: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.c:394: note: expected âlong int *â but argument is of type > âARTimestamp *â > supportrev.c: In function ârev_ARByteListâ: > supportrev.c:1527: warning: passing argument 3 of ârev_ARByteListStr2Typeâ > from incompatible pointer type > supportrev.c:105: note: expected âlong unsigned int *â but argument is of > type âARULong32 *â > supportrev.c: In function ârev_ARAssignFieldStruct_helperâ: > supportrev.c:1744: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.c:425: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > supportrev.c: In function ârev_ARStatHistoryValue_helperâ: > supportrev.c:1902: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.c:425: note: expected âlong unsigned int *â but argument is of > type âARULong32 *â > supportrev.c: In function ârev_ARFilterStatusStructâ: > supportrev.c:2174: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.c:394: note: expected âlong int *â but argument is of type > âARLong32 *â > supportrev.c: In function ârev_ARStatusStructâ: > supportrev.c:2230: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.c:394: note: expected âlong int *â but argument is of type > âARLong32 *â > supportrev.c: In function ârev_ARMessageStructâ: > supportrev.c:2311: warning: passing argument 3 of âlongcpyHValâ from > incompatible pointer type > supportrev.c:394: note: expected âlong int *â but argument is of type > âARLong32 *â > supportrev.c: In function ârev_ARFieldCharacteristicsâ: > supportrev.c:2369: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.c:425: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > supportrev.c: In function ârev_ARPropList_helperâ: > supportrev.c:2480: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.c:425: note: expected âlong unsigned int *â but argument is of > type âARULong32 *â > supportrev.c: In function ârev_ARDisplayInstanceStructâ: > supportrev.c:2779: warning: passing argument 3 of âulongcpyHValâ from > incompatible pointer type > supportrev.c:425: note: expected âlong unsigned int *â but argument is of > type âARInternalId *â > cc -c -I/home/remedystats/tmp/api750p007linux/include > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" > -DXS_VERSION=\"1.93\" -fPIC > "-I/home/remedystats/perl/lib/5.18.1/x86_64-linux/CORE" -g > -DARSPERL_DEBUG -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=18 > -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 supportrev_generated.c > rm -f blib/arch/auto/ARS/ARS.so > LD_RUN_PATH="/lib/../lib64" cc -shared -O2 -L/usr/local/lib > -fstack-protector ARS.o support.o supportrev.o supportrev_generated.o -o > blib/arch/auto/ARS/ARS.so > /home/remedystats/tmp/api750p007linux/lib/libar_lx64.a \ > -L/home/remedystats/tmp/api750p007linux/lib -lnsl > -lpthread \ > > chmod 755 blib/arch/auto/ARS/ARS.so > /home/remedystats/perl/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' > -- ARS.bs blib/arch/auto/ARS/ARS.bs 644 > /home/remedystats/perl/bin/perl "-Iblib/arch" "-Iblib/lib" ._Makefile.PL > ._Makefile > Unrecognized character \x05; marked by <-- HERE after <-- HERE near column > 2 at ._Makefile.PL line 1. > make: *** [._Makefile] Error 255 > > > > > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |