I have added the '-m32' switch as suggested in another thread, but I
still get the same errors:

gcc -c  -I/export/third-party/remedy/ars/software/ars710p3/api/include
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris-64int/CORE"  -g
-Wno-unused-variable -Wuninitialized  -DARS32  -DARS452
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50 -m32
ARS.c

ARS.c: In function `XS_ARS_ars_CreateField':

ARS.xs:3817: warning: `createMode' might be used uninitialized in this
function

ARS.xs: In function `XS_ARS_ars_CreateActiveLink':

ARS.xs:5178: warning: cast to pointer from integer of different size

ARS.xs: In function `XS_ARS_ars_SetActiveLink':

ARS.xs:5340: warning: cast to pointer from integer of different size

ARS.xs: In function `XS_ARS_ars_CreateFilter':

ARS.xs:5519: warning: cast to pointer from integer of different size

ARS.xs: In function `XS_ARS_ars_SetFilter':

ARS.xs:5661: warning: cast to pointer from integer of different size

ARS.xs: In function `XS_ARS_ars_CreateEscalation':

ARS.xs:5828: warning: cast to pointer from integer of different size

ARS.xs: In function `XS_ARS_ars_SetEscalation':

ARS.xs:5965: warning: cast to pointer from integer of different size

 

Any help would be greatly appreciated.

 

Thanks,

Mark Vaughan

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vaughan, Mark
Sent: Friday, September 05, 2008 4:02 PM
To: ARSperl User Discussion
Subject: [Arsperl-users] ARSperl 1.91 make test errors

 

I have built 1.91 on Solaris 10 using gcc and it compiles with the usual
array of compilation errors ('warning: cast to pointer from integer of
different size' mostly).

 

When I run 'make test', I get a handful of 'uninitialized value'
warnings inside of ARS.pm, line 49.  I traced the problem to sub
ARS::ERRORSTR::FETCH.  The problem is the messageType array contains an
invalid value (4294967295).  As this value is -1 when using 32 bits and
casting is working correctly, I'm presuming that I am compiling
something incorrectly.

 

The test cases exhibiting this error are:

t/21setlogging

t/31createschema

 

Thanks,

Mark Vaughan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

--
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to