Subject: | Compilation fails with unthreaded perls |
See subject. Build log excerpt:
...
cc -I/opt/perl-5.22.4-RC1/lib/5.22.4/x86_64-linux/CORE -DVERSION="0.003" -DXS_VERSION="0.003" -fPIC -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -o lib/PerlIO/http.o lib/PerlIO/http.c
lib/PerlIO/http.xs: In function âPerlIOHttp_openâ:
lib/PerlIO/http.xs:72:49: error: expected expression before â,â token
PerlIO_funcs * vtable = PerlIO_find_layer(aTHX, "scalar", 6, TRUE);
^
lib/PerlIO/http.xs:72:51: warning: passing argument 2 of âPerlIO_find_layerâ makes integer from pointer without a cast
PerlIO_funcs * vtable = PerlIO_find_layer(aTHX, "scalar", 6, TRUE);
^
...