Subject: | Compilation error with threaded perls |
Compiling the xs fails for threaded perls:
cc -c -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -DPIC -fPIC "-I/usr/perl5.16.3t/lib/5.16.3/amd64-freebsd-thread-multi/CORE" XS.c
XS.xs: In function 'kopeck2words':
XS.xs:33: error: 'my_perl' undeclared (first use in this function)
XS.xs:33: error: (Each undeclared identifier is reported only once
XS.xs:33: error: for each function it appears in.)
XS.xs: In function 'ruble2words':
XS.xs:53: error: 'my_perl' undeclared (first use in this function)
*** [XS.o] Error code 1