Subject: | ZeroMQ-0.04 Fails to compile on RHEL 5, Perl 5.8.8. |
I have tested the build with zeromq-2.1.0 and 2.0.10 and get the same
errors.
=======================================
[root@bjbld02 ZeroMQ-0.04]# make
gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -Wall
-Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.04\"
-DXS_VERSION=\"0.04\" -o xs/perl_zeromq.o -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -DUSE_PPPORT
xs/perl_zeromq.c
In file included from xs/perl_zeromq.xs:2:
xs/perl_zeromq.h:20: error: expected specifier-qualifier-list before 'tTHX'
In file included from xs/perl_zeromq.xs:2:
xs/perl_zeromq.h:47:30: warning: no newline at end of file
xs/perl_zeromq.xs: In function 'PerlZMQ_Raw_Context_mg_free':
xs/perl_zeromq.xs:62: error: 'PerlZMQ_Raw_Context' has no member named
'interp'
xs/perl_zeromq.xs:67: error: 'PerlZMQ_Raw_Context' has no member named
'ctxt'
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_init':
xs/perl_zeromq.xs:191: warning: value computed is not used
xs/perl_zeromq.xs:192: error: 'PerlZMQ_Raw_Context' has no member named
'interp'
xs/perl_zeromq.xs:193: error: 'PerlZMQ_Raw_Context' has no member named
'ctxt'
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_term':
xs/perl_zeromq.xs:208: error: 'PerlZMQ_Raw_Context' has no member named
'ctxt'
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_socket':
xs/perl_zeromq.xs:311: error: 'PerlZMQ_Raw_Context' has no member named
'ctxt'
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_poll':
xs/perl_zeromq.xs:547: warning: comparison between signed and unsigned
xs/perl_zeromq.xs:548: warning: comparison between signed and unsigned
xs/perl_zeromq.xs:567: warning: passing argument 5 of 'Perl_hv_fetch'
makes integer from pointer without a cast
xs/perl_zeromq.xs:578: warning: passing argument 5 of 'Perl_hv_fetch'
makes integer from pointer without a cast
xs/perl_zeromq.xs:587: warning: passing argument 5 of 'Perl_hv_fetch'
makes integer from pointer without a cast
xs/perl_zeromq.xs:595: warning: passing argument 5 of 'Perl_hv_fetch'
makes integer from pointer without a cast
xs/perl_zeromq.c: In function 'boot_ZeroMQ':
xs/perl_zeromq.c:1492: error: 'ZMQ_XSUB' undeclared (first use in this
function)
xs/perl_zeromq.c:1492: error: (Each undeclared identifier is reported
only once
xs/perl_zeromq.c:1492: error: for each function it appears in.)
xs/perl_zeromq.c:1534: error: 'ZMQ_RECOVERY_IVL_MSEC' undeclared (first
use in this function)
xs/perl_zeromq.c:1548: error: 'ZMQ_XPUB' undeclared (first use in this
function)
make: *** [xs/perl_zeromq.o] Error 1
=================================