Try to replace the following lines in the source code:

in file "supportrev_generated.h", line 339:
   void copyUIntArray( int size, unsigned int *dst, SV* src );
by
   void copyUIntArray( int size, ARInternalId *dst, SV* src );

in file "supportrev_generated.c", line 11925 (near end of file):
   void copyUIntArray( int size, unsigned int *dst, SV* src ){
by
   void copyUIntArray( int size, ARInternalId *dst, SV* src ){


Regards,
Thilo


Emily Conner wrote:
> Only seeing this error on compile:
> 
> supportrev_generated.c: In function `rev_ARCharMenuQueryStruct':
> supportrev_generated.c:2791: warning: passing arg 2 of `copyUIntArray' 
> from incompatible pointer type
> 
> but getting this error trying to use ARS:
> 
> Can't load 
> '/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/ARS/ARS.so' for 
> module ARS: ld.so.1: perl5.8.3: fatal: relocation error: file 
> /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/ARS/ARS.so: 
> symbol ucnv_compareNames_3_2: referenced symbol not found at 
> /usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
> 
> I saw this in Makefile.PL, but it was already uncommented:
> 
> #       If you get errors during compilation/runtime similar to
> #       "undefined symbol: sv_isa" then add this define.
> 
>              'DEFINE'  => ${AUTODEFINES},
> 
> 
> Any ideas?
> 
> 
> Thanks,
> Emily
> 
> 
> 
> # perl Makefile.PL
> Building against perl 5.008003
> 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  = 7.00
>        ARSAPI      = /opt/remedy/api
>        AUTODEFINES =  -g  -DARS32  -DARS452  -DPERL_PATCHLEVEL_IS=8 
> -DPERL_SUBVERSION_IS=3 -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.
> 
> # make
> cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> cp ARSnparm.pm blib/lib/ARSnparm.pm
> cp artypes.ph blib/lib/artypes.ph
> 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)
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap 
> /usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap typemap  ARS.xs > 
> ARS.xsc && mv ARS.xsc ARS.c
> gcc -B/usr/ccs/bin/ -c  -I/opt/remedy/api/include -fno-strict-aliasing 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   
> -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" -fPIC 
> "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE"  -g  -DARS32  -DARS452  
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=3 -DPERL_BASEREV_IS=50  ARS.c
> gcc -B/usr/ccs/bin/ -c  -I/opt/remedy/api/include -fno-strict-aliasing 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   
> -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" -fPIC 
> "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE"  -g  -DARS32  -DARS452  
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=3 -DPERL_BASEREV_IS=50  
> support.c
> gcc -B/usr/ccs/bin/ -c  -I/opt/remedy/api/include -fno-strict-aliasing 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   
> -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" -fPIC 
> "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE"  -g  -DARS32  -DARS452  
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=3 -DPERL_BASEREV_IS=50  
> supportrev.c
> gcc -B/usr/ccs/bin/ -c  -I/opt/remedy/api/include -fno-strict-aliasing 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   
> -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" -fPIC 
> "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE"  -g  -DARS32  -DARS452  
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=3 -DPERL_BASEREV_IS=50  
> supportrev_generated.c
> supportrev_generated.c: In function `rev_ARCharMenuQueryStruct':
> supportrev_generated.c:2791: warning: passing arg 2 of `copyUIntArray' 
> from incompatible pointer type
> Running Mkbootstrap for ARS ()
> chmod 644 ARS.bs
> rm -f blib/arch/auto/ARS/ARS.so
> LD_RUN_PATH="/usr/lib" gcc -B/usr/ccs/bin/  -G -L/usr/local/lib ARS.o 
> support.o supportrev.o supportrev_generated.o 
> /opt/remedy/api/lib/libar.a  -o blib/arch/auto/ARS/ARS.so   
> -L/opt/remedy/api/lib -lpthread -licuuc -licui18n
> 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
> Writing 
> /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/ARS/.packlist
> Appending installation info to 
> /usr/local/lib/perl5/5.8.3/sun4-solaris/perllocal.pod
> 
> _________________________________________________________________
> MSN is giving away a trip to Vegas to see Elton John.  Enter to win 
> today. http://msnconcertcontest.com?icid-nceltontagline
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to