Hi Thilo, Thanks for your help.... I noticed that the majority of the lines the xlc compiler was complaining about were // so I stripped them out, recompiled and everything seems ok now.
-----Original Message----- From: Thilo Stapff [mailto:thilo.sta...@apprologic.de] Sent: 11 November 2009 16:00 To: ARSperl User Discussion Subject: Re: [Arsperl-users] [SPAM] ARSPerl on AIX It looks like most of the syntax errors are caused by C++ style comments in supportrev.c (i.e. //... instead of /* .... */). I don't know if this applies to your AIX/xlc version, but there seems to be a -qcpluscmt compiler flag to handle this. Just google for "xlc qcpluscmt". Moreover, try changing line 3356 of "support.c" from int dt = in->tag - AR_FIELD_OFFSET; to unsigned int dt = in->tag - AR_FIELD_OFFSET; and line 1242 of "supportrev.c" from int len; to STRLEN len; I'll also check in an update to the CVS repository on Sourceforge, which will have these issues fixed. Regards, Thilo Findlay, Graham wrote: > Hi, > > We are trying to install ARSPerl (v1.91)on AIX 5.3 but the compile is > not working. The compiler we are using is IBM's xlc and we have a soft > link from cc_r to the xlc compiler. Output from the compiler is > below........can anyone help? > > > > Skip blib/lib/ARSarerrno-h.pm (unchanged) > > Skip blib/lib/ARSnparm.pm (unchanged) > > Skip blib/lib/_h2ph_pre.ph (unchanged) > > Skip blib/lib/ARSar-h.pm (unchanged) > > Skip blib/lib/ARSnterrno-h.pm (unchanged) > > Skip blib/lib/ARSnt-h.pm (unchanged) > > Skip blib/lib/ARSOOsup.pm (unchanged) > > Skip blib/lib/ARSOOmsgs.pm (unchanged) > > Skip blib/lib/ARSOOform.pm (unchanged) > > Skip blib/lib/ARS.pm (unchanged) > > cc_r -c -I/usr/ars/api630p018aix/include -D_ALL_SOURCE > -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias > -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong > -O -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -g -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 > -DPERL_BASEREV_IS=50 ARS.c > > 1500-030: (I) INFORMATION: boot_ARS: Additional optimization may be > attained by recompiling and specifying MAXMEM option with a value > greater than 16384. > > cc_r -c -I/usr/ars/api630p018aix/include -D_ALL_SOURCE > -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias > -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong > -O -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -g -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 > -DPERL_BASEREV_IS=50 support.c > > "support.c", line 3358.90: 1506-280 (W) Function argument assignment > between types "unsigned int*" and "int*" is not allowed. > > 1500-030: (I) INFORMATION: perl_ARFieldLimitStruct: Additional > optimization may be attained by recompiling and specifying MAXMEM option > with a value greater than 16384. > > cc_r -c -I/usr/ars/api630p018aix/include -D_ALL_SOURCE > -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias > -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong > -O -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -g -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 > -DPERL_BASEREV_IS=50 supportrev.c > > "supportrev.c", line 1244.23: 1506-280 (W) Function argument assignment > between types "unsigned long*" and "int*" is not allowed. > > "supportrev.c", line 2810.17: 1506-046 (S) Syntax error. > > "supportrev.c", line 2821.57: 1506-046 (S) Syntax error. > > "supportrev.c", line 2822.57: 1506-046 (S) Syntax error. > > "supportrev.c", line 2822.123: 1506-045 (S) Undeclared identifier dataType. > > "supportrev.c", line 3009.17: 1506-046 (S) Syntax error. > > "supportrev.c", line 3189.17: 1506-046 (S) Syntax error. > > make: 1254-004 The error code from the last command is 1. > > > > > > > Visa Europe, Europe's leading payment systems provider, is owned and > governed within Europe for the benefit of European financial institutions. > This email (including attachments) is confidential and is solely > intended for the addressee. Unless you are the addressee, you may not > read, use or store this email in any way, or permit others to. If you > have received it in error, please contact Visa Europe on +44 (0)20 7937 > 8111. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > > > -- > Arsperl-users mailing list > Arsperl-users@arsperl.org > https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users Visa Europe, Europe's leading payment systems provider, is owned and governed within Europe for the benefit of European financial institutions. This email (including attachments) is confidential and is solely intended for the addressee. Unless you are the addressee, you may not read, use or store this email in any way, or permit others to. If you have received it in error, please contact Visa Europe on +44 (0)20 7937 8111. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users