Subject: | MQULONG not defined / patched to MQLONG seems to work |
I have tried to upgrade with my Solaris perl (5.8.0 and 5.8.4) to the current version (from 1.19 to 1.23). Unfortunately MQULONG typedef is not created. Patching the Source Code file MQSeries.c with sed -e "s/MQULONG/MQLONG/g" seems to help. Still under investigation for the reaso
and testing...
Below the broken build....
Greet/pbo/bin/perl "-I../blib/arch" "-I../blib/lib" typemap.PL typemap
/pbo/bin/perl /pbo/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /pbo/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap MQSeries.xs > MQSeries.xsc && mv MQSeries.xsc MQSeries.c
gcc -c -I"/opt/mqm/inc" -I../include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/pbo/lib/perl5/5.8.0/sun4-solaris/CORE" MQSeries.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
MQSeries.c: In function `XS_MQClient__MQSeries_constant_hex':
MQSeries.c:107: `MQULONG' undeclared (first use in this function)
MQSeries.c:107: (Each undeclared identifier is reported only once
MQSeries.c:107: for each function it appears in.)
MQSeries.c:107: parse error before "RETVAL"
MQSeries.xs:99: parse error before "Result"
MQSeries.xs:101: `Result' undeclared (first use in this function)
gmake[1]: *** [MQSeries.o] Error 1
gmake[1]: Leaving directory `/home/ex9238/HSHperl/x/MQSeries-1.23/MQClient'
gmake: *** [subdirs] Error 2