Actually, it compiles ok but when I try a sample I get this:
Can't load
'/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so'
for module ARS:
ld.so.1: perl: fatal: relocation error:
file
/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:
symbol ucnv_setDefaultName_3_2:
referenced symbol not found at
/production/77j/customperl/lib/5.16.0/sun4-solaris-64/DynaLoader.pm line
190.
at ./testars11.pl line 5.
Compilation failed in require at ./testars11.pl line 5.
BEGIN failed--compilation aborted at ./testars11.pl line 5.
Anyone seen this? What is ucnv_setDefaultName_3_2?
Phil
Here is my compile output:
$ /production/77j/customperl/bin/perl Makefile.PL
found API Version: 18
derived server version from ar.h:
found ar libraries: $VAR1 = [];
Building against perl 5.016000
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.60
ARSAPI = /tools/bmc/remedy/api
AUTODEFINES = -g -Wno-unused-variable -Wuninitialized
-DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50
Note (probably harmless): No library found for -licuucbmc_solsp64
Note (probably harmless): No library found for -licui18nbmc_solsp64
Note (probably harmless): No library found for -licudatabmc_solsp64
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.
$ make
Skip blib/lib/ARS/arerrno-h.pm (unchanged)
Skip blib/lib/ARS/OOsup.pm (unchanged)
Skip blib/lib/ARS/ar-h.pm (unchanged)
Skip blib/lib/ARS/nparm.pm (unchanged)
Skip blib/lib/ARS/OOmsgs.pm (unchanged)
Skip blib/lib/ARS/OOform.pm (unchanged)
Skip blib/lib/ARS.pm (unchanged)
gcc -c -I/tools/bmc/remedy/api/include -mcpu=v9 -m64 -fno-strict-aliasing
-pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/customperl/lib/5.16.0/sun4-solaris-64/CORE" -g
-Wno-unused-variable
-Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50 ARS.c
ARS.c: In function `XS_ARS_ars_GetListContainer':
ARS.xs:1197: warning: 'ret' might be used uninitialized in this function
ARS.xs: In function `XS_ARS_ars_CreateField':
ARS.xs:4405: warning: passing arg 3 of `ulongcpyHVal' from incompatible
pointer type
ARS.xs: In function `XS_ARS_ars_CreateVUI':
ARS.xs:5181: warning: passing arg 3 of `ulongcpyHVal' from incompatible
pointer type
ARS.xs: In function `XS_ARS_ars_CreateActiveLink':
ARS.xs:5848: warning: passing arg 3 of `ulongcpyHVal' from incompatible
pointer type
ARS.xs:5851: warning: passing arg 3 of `ulongcpyHVal' from incompatible
pointer type
ARS.xs: In function `XS_ARS_ars_SetActiveLink':
ARS.xs:6040: warning: passing arg 3 of `ulongcpyHVal' from incompatible
pointer type
ARS.xs:6044: warning: passing arg 3 of `ulongcpyHVal' from incompatible
pointer type
ARS.xs: In function `XS_ARS_ars_CreateEscalation':
ARS.xs:6492: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs:6495: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs:6496: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs:6497: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs: In function `XS_ARS_ars_SetEscalation':
ARS.xs:6642: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs:6646: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs:6647: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs:6648: warning: passing arg 3 of `longcpyHVal' from incompatible
pointer type
ARS.xs: In function `XS_ARS_ars_Signal':
ARS.xs:7710: warning: comparison is always false due to limited range of
data type
gcc -c -I/tools/bmc/remedy/api/include -mcpu=v9 -m64 -fno-strict-aliasing
-pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/customperl/lib/5.16.0/sun4-solaris-64/CORE" -g
-Wno-unused-variable
-Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-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 arg 2 of `Perl_sv_2pv_flags' from
incompatible pointer type
gcc -c -I/tools/bmc/remedy/api/include -mcpu=v9 -m64 -fno-strict-aliasing
-pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/customperl/lib/5.16.0/sun4-solaris-64/CORE" -g
-Wno-unused-variable
-Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50 supportrev.c
supportrev.c: In function `rev_ARAssignList_helper':
supportrev.c:1047: warning: passing arg 3 of `ulongcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARValueStructDiary':
supportrev.c:1429: warning: passing arg 3 of `longcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARByteList':
supportrev.c:1527: warning: passing arg 3 of `rev_ARByteListStr2Type' from
incompatible pointer type
supportrev.c: In function `rev_ARAssignFieldStruct_helper':
supportrev.c:1744: warning: passing arg 3 of `ulongcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARStatHistoryValue_helper':
supportrev.c:1902: warning: passing arg 3 of `ulongcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARFilterStatusStruct':
supportrev.c:2174: warning: passing arg 3 of `longcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARStatusStruct':
supportrev.c:2230: warning: passing arg 3 of `longcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARMessageStruct':
supportrev.c:2311: warning: passing arg 3 of `longcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARFieldCharacteristics':
supportrev.c:2369: warning: passing arg 3 of `ulongcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARPropList_helper':
supportrev.c:2480: warning: passing arg 3 of `ulongcpyHVal' from
incompatible pointer type
supportrev.c: In function `rev_ARDisplayInstanceStruct':
supportrev.c:2779: warning: passing arg 3 of `ulongcpyHVal' from
incompatible pointer type
gcc -c -I/tools/bmc/remedy/api/include -mcpu=v9 -m64 -fno-strict-aliasing
-pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/customperl/lib/5.16.0/sun4-solaris-64/CORE" -g
-Wno-unused-variable
-Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-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/sparcv9" gcc -G -m64 -L/usr/lib/sparcv9 ARS.o
support.o supportrev.osupportrev_generated.o -o blib/arch/auto/ARS/ARS.so
/tools/bmc/remedy/api/lib/libar_solsp64.a \
-L/tools/bmc/remedy/api/lib -lnsl -lpthread \
chmod 755 blib/arch/auto/ARS/ARS.so
cp ARS.bs blib/arch/auto/ARS/ARS.bs
chmod 644 blib/arch/auto/ARS/ARS.bs
$ make install
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing
/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so
Appending installation info to
/production/77j/customperl/lib/5.16.0/sun4-solaris-64/perllocal.pod
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users