[Arsperl-users] Help compiling ARS1-93 using api750p007linux on RHL6.5-x86_64
Brought to you by:
jeffmurphy
|
From: vonConrad W. <von...@gm...> - 2014-01-31 23:07:19
|
All,
Problem: Unable to connect to AR server.
Building against api750p007linux
Building against perl 5.018002
No issues when I ran perl Makefile.PL <START OF MAKEFILE.PL>
Ran into issues when I run make. See <START OF MAKE OUTPUT>
No issues when I installed so. See <START OF MAKE INSTALL>
Ran into issues when I run a simple script to connect to ARS. See <START OF
EXECUTION>
Looking for any assistance I have done wrong.
Conrad
<START OF MAKEFILE.PL>
# perl Makefile.PL
found ar libraries: $VAR1 = [];
Building against perl 5.018002
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.50
ARSAPI = /usr/ar/api
AUTODEFINES = -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=18
-DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
Checking if your kit is complete...
Warning: the following files are missing in your kit:
blib/arch/.exists
blib/arch/auto/ARS/.exists
blib/bin/.exists
blib/lib/.exists
blib/lib/ARS.pm
blib/lib/ARS/ar-h.pm
blib/lib/ARS/arerrno-h.pm
blib/lib/ARS/nparm.pm
blib/lib/ARS/OOform.pm
blib/lib/ARS/OOmsgs.pm
blib/lib/ARS/OOsup.pm
blib/lib/auto/ARS/.exists
blib/lib/auto/ARS/autosplit.ix
blib/man1/.exists
blib/man3/.exists
blib/script/.exists
Makefile
Makefile.old
pm_to_blib
t/config.cache
Please inform the author.
Generating a Unix-style Makefile
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== 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 []:
TCP Port [0]:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
<END OF MAKEFILE.PL>
<START OF MAKE OUTPUT>
1.el6.x86_64 #1 SMP Fri Dec 13 06:58:20 EST 2013 x86_64 x86_64 x86_64
GNU/Linux
# make
cp ARS.pm blib/lib/ARS.pm
AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
cp ARS/OOsup.pm blib/lib/ARS/OOsup.pm
cp ARS/OOmsgs.pm blib/lib/ARS/OOmsgs.pm
cp ARS/OOform.pm blib/lib/ARS/OOform.pm
cp ARS/nparm.pm blib/lib/ARS/nparm.pm
cp ARS/arerrno-h.pm blib/lib/ARS/arerrno-h.pm
cp ARS/ar-h.pm blib/lib/ARS/ar-h.pm
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
/usr/local/bin/perl /usr/local/lib/perl5/5.18.2/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.18.2/ExtUtils/typemap -typemap typemap ARS.xs >
ARS.xsc && mv ARS.xsc ARS.c
cc -c -I/usr/ar/api/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/usr/local/lib/perl5/5.18.2/x86_64-linux/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=18 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 ARS.c
ARS.xs: In function â EURO ~XS_ARS_ars_CreateFieldâ EURO (tm):
ARS.xs:4405: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:53: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
ARS.xs: In function â EURO ~XS_ARS_ars_CreateVUIâ EURO (tm):
ARS.xs:5181: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:53: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
ARS.xs: In function â EURO ~XS_ARS_ars_CreateActiveLinkâ EURO (tm):
ARS.xs:5848: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:53: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
ARS.xs:5851: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:53: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
ARS.xs: In function â EURO ~XS_ARS_ars_SetActiveLinkâ EURO (tm):
ARS.xs:6040: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:53: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
ARS.xs:6044: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:53: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
ARS.xs: In function â EURO ~XS_ARS_ars_CreateEscalationâ EURO (tm):
ARS.xs:6492: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs:6495: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs:6496: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs:6497: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs: In function â EURO ~XS_ARS_ars_SetEscalationâ EURO (tm):
ARS.xs:6642: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs:6646: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs:6647: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
ARS.xs:6648: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.h:52: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
cc -c -I/usr/ar/api/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/usr/local/lib/perl5/5.18.2/x86_64-linux/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=18 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
support.c
support.c: In function â EURO ~debug_freeâ EURO (tm):
support.c:103: warning: cast from pointer to integer of different size
support.c: In function â EURO ~set_logging_file_ptrâ EURO (tm):
support.c:132: warning: cast from pointer to integer of different size
support.c: In function â EURO ~sv_to_ARValueâ EURO (tm):
support.c:3948: warning: passing argument 2 of â EURO ~Perl_sv_2pv_flagsâ EURO (tm) from
incompatible pointer type
/usr/local/lib/perl5/5.18.2/x86_64-linux/CORE/proto.h:3834: note: expected
â EURO ~STRLEN * constâ EURO (tm) but argument is of type â EURO ~unsigned int *â EURO (tm)
cc -c -I/usr/ar/api/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/usr/local/lib/perl5/5.18.2/x86_64-linux/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=18 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
supportrev.c
supportrev.c: In function â EURO ~rev_ARAssignList_helperâ EURO (tm):
supportrev.c:1047: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:425: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARValueStructDiaryâ EURO (tm):
supportrev.c:1429: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:394: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARTimestamp *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARByteListâ EURO (tm):
supportrev.c:1527: warning: passing argument 3 of
â EURO ~rev_ARByteListStr2Typeâ EURO (tm) from incompatible pointer type
supportrev.c:105: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARULong32 *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARAssignFieldStruct_helperâ EURO (tm):
supportrev.c:1744: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:425: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARStatHistoryValue_helperâ EURO (tm):
supportrev.c:1902: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:425: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARULong32 *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARFilterStatusStructâ EURO (tm):
supportrev.c:2174: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:394: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARStatusStructâ EURO (tm):
supportrev.c:2230: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:394: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARMessageStructâ EURO (tm):
supportrev.c:2311: warning: passing argument 3 of â EURO ~longcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:394: note: expected â EURO ~long int *â EURO (tm) but argument is of type
â EURO ~ARLong32 *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARFieldCharacteristicsâ EURO (tm):
supportrev.c:2369: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:425: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARPropList_helperâ EURO (tm):
supportrev.c:2480: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:425: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARULong32 *â EURO (tm)
supportrev.c: In function â EURO ~rev_ARDisplayInstanceStructâ EURO (tm):
supportrev.c:2779: warning: passing argument 3 of â EURO ~ulongcpyHValâ EURO (tm) from
incompatible pointer type
supportrev.c:425: note: expected â EURO ~long unsigned int *â EURO (tm) but argument is
of type â EURO ~ARInternalId *â EURO (tm)
cc -c -I/usr/ar/api/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/usr/local/lib/perl5/5.18.2/x86_64-linux/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=18 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
supportrev_generated.c
rm -f blib/arch/auto/ARS/ARS.so
LD_RUN_PATH="/lib/../lib64:/usr/ar/api/lib" 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
/usr/ar/api/lib/libar_lx64.a \
-L/usr/ar/api/lib -lnsl -lpthread -licuucbmc_lx64
-licui18nbm_lx64 -licudatabm_lx64 \
chmod 755 blib/arch/auto/ARS/ARS.so
/usr/local/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- ARS.bs
blib/arch/auto/ARS/ARS.bs 644
<END MAKE OUTPUT>
<START OF MAKE INSTALL>
make install
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS.pm
Installing
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/autosplit.ix
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS/
arerrno-h.pm
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS/OOmsgs.pm
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS/nparm.pm
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS/OOsup.pm
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS/ar-h.pm
Installing /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/ARS/OOform.pm
Appending installation info to
/usr/local/lib/perl5/5.18.2/x86_64-linux/perllocal.pod
<END OF MAKE INSTALL>
<START OF EXECUTION>
*** glibc detected *** /usr/local/bin/perl: double free or corruption
(fasttop): 0x00000000023071a0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x39e5076166]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(slt_free+0xd4)[0x7fc96ec2d93f]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0x122315)[0x7fc96eb1c315]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0x101f71)[0x7fc96eafbf71]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(ARRPCCallServer+0x13c)[0x7fc96eafbac2]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0x126853)[0x7fc96eb20853]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0x124b5e)[0x7fc96eb1eb5e]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0x12499b)[0x7fc96eb1e99b]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0x10645f)[0x7fc96eb0045f]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(ARLoadRPCControlStruct+0x3a)[0x7fc96eaffdda]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(ARVerifyUser+0x11a)[0x7fc96eb1168d]
/usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/ARS/ARS.so(+0xd1243)[0x7fc96eacb243]
/usr/local/bin/perl(Perl_pp_entersub+0x6da)[0x49c0ea]
/usr/local/bin/perl(Perl_runops_standard+0x13)[0x49a813]
/usr/local/bin/perl(perl_run+0x31d)[0x43625d]
/usr/local/bin/perl(main+0x10c)[0x41c92c]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x39e501ed1d]
/usr/local/bin/perl[0x41c759]
======= Memory map: ========
<END OF EXECUTION>
|