ilmari / bareword-filehandles Goto Github PK
View Code? Open in Web Editor NEWLexically disable bareword filehandles
Lexically disable bareword filehandles
I currently build some modules for Perl 5.36.0 on Windows10.
The module bareword-filehandle
is a dependency of strictures
, then of Crypt::PBKDF2
, then of Crypt::CBC.
The log shows:
Fetching http://cpan.strawberryperl.com/authors/id/I/IL/ILMARI/bareword-filehandles-0.007.tar.gz ... OK
Configuring bareword-filehandles-0.007 ... Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for bareword::filehandles
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.88 ... Yes (1.302191)
Checking if you have if 0 ... Yes (0.0610)
Checking if you have warnings 0 ... Yes (1.58)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.64)
Checking if you have strict 0 ... Yes (1.12)
Checking if you have XSLoader 0 ... Yes (0.31)
Checking if you have File::Spec 0 ... Yes (3.84)
Checking if you have B::Hooks::OP::Check 0 ... Yes (0.22)
OK
Building and testing bareword-filehandles-0.007 ... cp lib/bareword/filehandles.pm blib\lib\bareword\filehandles.pm
Running Mkbootstrap for filehandles ()
"C:\perl\out\image32\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "filehandles.bs"
"C:\perl\out\image32\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- filehandles.bs blib\arch\auto\bareword\filehandles\filehandles.bs 644
"C:\perl\out\image32\perl\bin\perl.exe" "C:\perl\out\image32\perl\lib\ExtUtils/xsubpp" -typemap C:\perl\out\image32\perl\lib\ExtUtils\typemap filehandles.xs > filehandles.xsc
"C:\perl\out\image32\perl\bin\perl.exe" -MExtUtils::Command -e mv -- filehandles.xsc filehandles.c
gcc -c -IC:\perl\out\image32\perl\vendor\lib\B\Hooks\OP\Check\Install -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.007\" -DXS_VERSION=\"0.007\" "-IC:\perl\out\image32\perl\lib\CORE" filehandles.c
filehandles.xs:10: warning: "PERL_VERSION_GE" redefined
#define PERL_VERSION_GE(r,v,s) \
In file included from C:\perl\out\image32\perl\lib\CORE/perl.h:2999,
from filehandles.xs:2:
C:\perl\out\image32\perl\lib\CORE/handy.h:553: note: this is the location of the previous definition
# define PERL_VERSION_GE(j,n,p) (! PERL_VERSION_LT(j,n,p))
"C:\perl\out\image32\perl\bin\perl.exe" -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"bareword::filehandles\", 'DLBASE' => 'filehandles', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
g++ filehandles.def -o blib\arch\auto\bareword\filehandles\filehandles.xs.dll -mdll -s -L"C:\perl\out\image32\perl\lib\CORE" -L"C:\perl\out\image32\c\lib" -L"C:\perl\out\image32\c\x86_64-w64-mingw32\lib" -L"C:\perl\out\image32\c\lib\gcc\x86_64-w64-mingw32\8.3.0" filehandles.o "C:\perl\out\image32\perl\lib\CORE\libperl536.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-auto-image-base
C:/perl/out/image32/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: filehandles.o:filehandles.c:(.text+0x42d): undefined reference to `hook_op_check'
C:/perl/out/image32/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: filehandles.o:filehandles.c:(.text+0x441): undefined reference to `hook_op_check'
C:/perl/out/image32/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: filehandles.o:filehandles.c:(.text+0x455): undefined reference to `hook_op_check'
C:/perl/out/image32/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: filehandles.o:filehandles.c:(.text+0x469): undefined reference to `hook_op_check'
C:/perl/out/image32/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: filehandles.o:filehandles.c:(.text+0x47d): undefined reference to `hook_op_check'
C:/perl/out/image32/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: filehandles.o:filehandles.c:(.text+0x491): more undefined references to `hook_op_check' follow
collect2.exe: error: ld returned 1 exit status
gmake: *** [Makefile:482: blib\arch\auto\bareword\filehandles\filehandles.xs.dll] Error 1
The same error in for your module multidimensional
.
In the include folder C:\perl\out\image32\perl\vendor\lib\B\Hooks\OP\Check\Install
is a file hook_op_check.h
with a line
hook_op_check_id hook_op_check (opcode type, hook_op_check_cb cb, void *user_data);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.