Subject: | Compilation fails with threaded perl 5.19.11 |
On a Debian/wheezy system:
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -fPIC "-I/opt/perl-5.19.11t/lib/5.19.11/x86_64-linux-thread-multi/CORE" Packed.c
Packed.xs: In function 'shuffle_packed':
Packed.xs:216:32: error: 'my_perl' undeclared (first use in this function)
Packed.xs:216:32: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Packed.o] Error 1
Compiling the module with an unthreded 5.19.11 or a threaded 5.18.2 is fine.
Regards,
Slaven