Thanks for the info Thilo. We're using the same compiler but the perl we're using was originally compiled on a Solaris 9 system. Rather than go through recompiling perl on Solaris 10, I went back to the original system, recompiled ARSPerl there, ran make install, verified it was working properly, and installed on the Solaris 10 system.
Ran into a problem when my code exits on the Solaris 10 system. Perl prints Out of memory! Callback called exit. END failed--call queue aborted. Apparently there's some kind of bug in DBDOracle when ARSperl and DBDOracle are used in the same code on Solaris 10. Commenting out $ENV{PERL_BADFREE} resolves the issue. Thanks for your assistance. Steve -----Original Message----- From: Thilo Stapff [mailto:thilo.sta...@apprologic.de] Sent: Tuesday, August 10, 2010 1:18 PM To: ARSperl User Discussion Subject: Re: [Arsperl-users] Problem compiling ARS.o under Solaris 10 My first guess would be that your perl interpreter was compiled with a different compiler (or a different version of gcc). Run "perl -V" to check that. You might also google for perl siginfo.h "parse error before" ctid_t which produces a lot of results. Interestingly, one of the topmost result leads to a thread from the ARSperl list: http://www.mail-archive.com/arsperl-users@arsperl.org/msg00068.html Regards, Thilo Stapff On 10.08.2010 18:46, Ervin, Steven wrote: > I'm having issues compiling ARSperl-1.91 under Solaris 10. The problem > does not occur under Solaris 9. Installing the Solaris 9 version on > Solaris 10 causes ARSperl to hang upon program exit. Thanks in advance. > > [11:28][repo...@txslfdwpd2:/tmp/ARSperl-1.91]$ > /export/home/reports/tools/bin/perl Makefile.PL > > Building against perl 5.008005 > > Generating support.h file.. > > Processing AR_STRUCT_ITEM codes.. > > Processing AR_SERVER_STAT codes.. > > Processing AR_SCHEMA codes.. > > Processing AR_COM_PARM codes.. > > Processing AR_COM_METHOD codes.. > > Processing AR_DDE codes.. > > Processing AR_ACTIVE_LINK_ACTION codes.. > > Processing AR_ACTIVE_LINK_ACTION_OPEN codes.. > > Processing AR_CHAR_MENU_DD type codes.. > > Processing AR_CHAR_MENU_DD name codes.. > > Processing AR_CHAR_MENU_DD value format.. > > Processing AR_CHAR_MENU codes.. > > Processing AR_FILTER_ACTION codes.. > > Processing AR_MENU_REFRESH codes.. > > Processing AR_PERMISSIONS (Schema) codes.. > > Processing AR_PERMISSIONS (Field) codes.. > > Processing AR_DATA_TYPE codes.. > > Processing AR_BYTE_LIST codes.. > > Processing AR_NO_MATCH codes.. > > Processing AR_MULTI_MATCH codes.. > > Processing AR_RETURN codes.. > > Processing AR_FUNCTION codes.. > > Processing ARCON codes.. > > Processing ARCONOWNER codes.. > > Processing ARREF codes.. > > Processing AR_KEYWORD codes.. > > Processing AR_SERVER_INFO codes.. > > Generating serverTypeInfoHints.h .. > > Converting C header files to perl modules .. > > Configuring with options: > > ARSVERSION = 6.00 > > ARSAPI = /usr/apps/naetools/ars/ars_api-6.0 > > AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 - > > DPERL_BASEREV_IS=50 > > Checking if your kit is complete... > > Looks good > > Writing Makefile for ARS > > === ARSperl 'make test' configuration. === > > Please enter the following information. This information will be > > recorded in ./t/config.cache > > If you want to skip the 'make test' step, just hit ENTER > > three times. You can configure it later by either re-running > > 'perl Makefile.PL' or by editting ./t/config.cache > > Fair warning: you probably don't want to run 'make test' against a > > production ARSystem server. > > Server Name []: > > Admin Username []: > > Admin Password []: > > Type 'make' (windows: 'nmake') to build ARSperl. > > Type 'make test' to test ARSperl before installing. > > Type 'make install' to install ARSperl. > > [11:30][repo...@txslfdwpd2:/tmp/ARSperl-1.91]$ make > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm > > cp ARSnparm.pm blib/lib/ARSnparm.pm > > 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) > > /export/home/reports/tools/bin/perl > /export/home/reports/tools/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap > /export/home/reports/tools/ > > lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && mv > ARS.xsc ARS.c > > gcc -c -I/usr/apps/naetools/ars/ars_api-6.0/include -fno-strict-aliasing > -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -D > > VERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > "-I/export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE" -g > -Wno-unused-var > > iable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 > -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50 ARS.c > > In file included from /usr/include/sys/signal.h:34, > > from /usr/include/signal.h:26, > > from > /export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE/unixish.h:1 06, > > from > /export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE/perl.h:1970 , > > from support.h:70, > > from ARS.xs:26: > > /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" > > /usr/include/sys/siginfo.h:292: error: parse error before '}' token > > /usr/include/sys/siginfo.h:294: error: parse error before '}' token > > /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" > > /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' > > /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' > > /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' > > /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' > > /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' > > /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' > > /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' > > /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' > > /usr/include/sys/siginfo.h:426: error: parse error before '}' token > > /usr/include/sys/siginfo.h:428: error: parse error before '}' token > > /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" > > /usr/include/sys/siginfo.h:437: error: parse error before '}' token > > In file included from /usr/include/signal.h:26, > > from > /export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE/unixish.h:1 06, > > from > /export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE/perl.h:1970 , > > from support.h:70, > > from ARS.xs:26: > > /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" > > In file included from > /export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE/unixish.h:1 06, > > from > /export/home/reports/tools/lib/perl5/5.8.5/sun4-solaris/CORE/perl.h:1970 , > > from support.h:70, > > from ARS.xs:26: > > /usr/include/signal.h:111: error: parse error before "siginfo_t" > > /usr/include/signal.h:113: error: parse error before "siginfo_t" > > *** Error code 1 > > make: Fatal error: Command failed for target `ARS.o' > > Steve Ervin > > Verizon Wireless > > Network Application Engineering > > 6 Campus Circle, Building 6, Suite 500, Westlake, TX 76262 > > 682-831-6414 Office > > 817-301-3236 Cell > > > > ------------------------------------------------------------------------ ------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > > > > > > -- > Arsperl-users mailing list > Arsperl-users@arsperl.org > https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users