Checking if your kit is complete... Looks good Writing Makefile for Algorithm::RectanglesContainingDot_XS cp lib/Algorithm/RectanglesContainingDot_XS.pm blib/lib/Algorithm/RectanglesContainingDot_XS.pm /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 -typemap /home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/typemap -typemap typemap RectanglesContainingDot_XS.xs > RectanglesContainingDot_XS.xsc && mv RectanglesContainingDot_XS.xsc RectanglesContainingDot_XS.c Please specify prototyping behavior for RectanglesContainingDot_XS.xs (see perlxs manual) gcc -c -I. -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fpic -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE RectanglesContainingDot_XS.c RectanglesContainingDot_XS.xs: In function `sort_inplace': RectanglesContainingDot_XS.xs:242: warning: passing arg 1 of `sortsv' from incompatible pointer type RectanglesContainingDot_XS.xs:242: warning: passing arg 2 of `sortsv' makes pointer from integer without a cast RectanglesContainingDot_XS.xs:242: warning: passing arg 3 of `sortsv' makes integer from pointer without a cast RectanglesContainingDot_XS.xs:242: too few arguments to function `sortsv' RectanglesContainingDot_XS.c: In function `XS_Algorithm__RectanglesContainingDot_XS_add_rectangle': RectanglesContainingDot_XS.c:479: parse error before `*' RectanglesContainingDot_XS.c:485: `name' undeclared (first use in this function) RectanglesContainingDot_XS.c:485: (Each undeclared identifier is reported only once RectanglesContainingDot_XS.c:485: for each function it appears in.) RectanglesContainingDot_XS.c:485: `x0' undeclared (first use in this function) RectanglesContainingDot_XS.c:485: `x1' undeclared (first use in this function) RectanglesContainingDot_XS.c:485: incompatible type for argument 5 of `add_rectangle' RectanglesContainingDot_XS.c:485: incompatible type for argument 7 of `add_rectangle' RectanglesContainingDot_XS.c: In function `XS_Algorithm__RectanglesContainingDot_XS_rectangles_containing_dot': RectanglesContainingDot_XS.c:498: parse error before `double' RectanglesContainingDot_XS.xs:484: invalid lvalue in assignment RectanglesContainingDot_XS.xs:489: `x' undeclared (first use in this function) RectanglesContainingDot_XS.xs:489: `y' undeclared (first use in this function) RectanglesContainingDot_XS.xs:489: warning: passing arg 2 of `division_containing_dot' from incompatible pointer type RectanglesContainingDot_XS.xs:489: invalid lvalue in assignment RectanglesContainingDot_XS.xs:490: request for member `rects' in something not a structure or union RectanglesContainingDot_XS.xs:491: request for member `size' in something not a structure or union RectanglesContainingDot_XS.xs:493: `n' undeclared (first use in this function) make: *** [RectanglesContainingDot_XS.o] Error 1