/home/cpanrun/build/5.6.1/bin/perl Build.PL Checking whether your kit is complete... Looks good Creating new 'Build' script for 'WebSphere-MQTT-Client' version '0.03' /home/cpanrun/build/5.6.1/bin/perl Build gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/mspclnt.o src/mspclnt.c In file included from src/mspdmn.h:30, from src/mspclnt.c:30: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/mspdmn.o src/mspdmn.c In file included from src/mspdmn.h:30, from src/mspdmn.c:30: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/msphash.o src/msphash.c In file included from src/mspdmn.h:30, from src/msphash.c:29: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/mspipc.o src/mspipc.c In file included from src/mspipc.c:35: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/mspscada.o src/mspscada.c In file included from src/mspdmn.h:30, from src/mspscada.c:33: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/mspsh.o src/mspsh.c In file included from src/mspsh.c:29: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here src/mspsh.c:34: warning: `sccsid' defined but not used gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/mspstart.o src/mspstart.c In file included from src/mspstart.c:31: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/msptcp.o src/msptcp.c In file included from src/mspdmn.h:30, from src/msptcp.c:32: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/msputils.o src/msputils.c In file included from src/mspdmn.h:30, from src/msputils.c:33: src/mspsh.h:124: warning: redefinition of `u_short' /usr/include/sys/types.h:34: warning: `u_short' previously declared here src/mspsh.h:128: warning: redefinition of `u_int' /usr/include/sys/types.h:35: warning: `u_int' previously declared here src/mspsh.h:132: warning: redefinition of `u_long' /usr/include/sys/types.h:36: warning: `u_long' previously declared here gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/ppersist.o src/ppersist.c lib/WebSphere/MQTT/Persist/File.pm -> blib/lib/WebSphere/MQTT/Persist/File.pm lib/WebSphere/MQTT/Client.pm -> blib/lib/WebSphere/MQTT/Client.pm lib/WebSphere/MQTT/Client.xs -> lib/WebSphere/MQTT/Client.c /home/cpanrun/build/5.6.1/bin/perl "-I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi" "-I/home/cpanrun/build/5.6.1/lib/5.6.1" "/home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp" -noprototypes -typemap "/home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/typemap" "lib/WebSphere/MQTT/Client.xs"Error: 'const char *' not in typemap in Client.xs, line 310 Error: 'const char *' not in typemap in Client.xs, line 403 Error: 'const char *' not in typemap in Client.xs, line 433 Error: 'const char *' not in typemap in Client.xs, line 467 Error: 'const char *' not in typemap in Client.xs, line 533 Error: 'const char *' not in typemap in Client.xs, line 587 Error: 'const char *' not in typemap in Client.xs, line 786 gcc -Isrc -Isrc -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMSP_SINGLE_THREAD -DUNIX -DLINUX -Wall -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/WebSphere/MQTT/Client.o lib/WebSphere/MQTT/Client.c Client.xs: In function `XS_WebSphere__MQTT__Client_xs_terminate': Client.xs:446: parse error before `*' Client.xs:452: `pApiTaskInfo' undeclared (first use in this function) Client.xs:452: (Each undeclared identifier is reported only once Client.xs:452: for each function it appears in.) Client.xs:453: `pSendTaskInfo' undeclared (first use in this function) Client.xs:454: `pRcvTaskInfo' undeclared (first use in this function) Client.xs:455: `pPersistInfo' undeclared (first use in this function) Client.c: In function `boot_WebSphere__MQTT__Client': Client.c:884: warning: unused variable `items' error building so file from 'lib/WebSphere/MQTT/Client.c' at /home/cpanrun/build/5.6.1/lib/site_perl/5.6.1/Module/Build/Base.pm line 1778. make: *** [all] Error 2