Subject: | make fails with threaded perls |
cc
-I/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a/lib/5.15.9/x86_64-linux/CORE
-DXS_VERSION="0.49" -DVERSION="0.49" -fPIC -c -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -o lib/File/Map.o lib/File/Map.c
lib/File/Map.xs: In function ‘XS_File__Map_remap’:
lib/File/Map.xs:602:91: error: ‘MREMAP_MAYMOVE’ undeclared (first use in
this function)
lib/File/Map.xs:602:91: note: each undeclared identifier is reported
only once for each function it appears in
error building lib/File/Map.o from 'lib/File/Map.c' at
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a/lib/5.15.9/ExtUtils/CBuilder/Base.pm
line 177.
(./Build exited with 512)
Let me know when you need more info.
Summary of my perl5 (revision 5 version 15 subversion 9) configuration:
Commit id: d1f1d9a74b9a375a1a92c95feae48ee46f9e3858
Platform:
osname=linux, osvers=3.2.0-2-amd64, archname=x86_64-linux
uname='linux k83 3.2.0-2-amd64 #1 smp fri apr 6 05:01:55 utc 2012
x86_64 gnulinux '
config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a
-Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des
-Ui_db -Uuseithreads -Uuselongdouble -DDEBUGGING=-g'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
ccversion='', gccversion='4.6.3', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib
-fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_DEVEL
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Apr 18 2012 03:18:42
@INC:
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a/lib/site_perl/5.15.9/x86_64-linux
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a/lib/site_perl/5.15.9
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a/lib/5.15.9/x86_64-linux
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-145-gd1f1d9a/165a/lib/5.15.9
.