perl - Error on running Inline::C -
perl - Error on running Inline::C -
tried run inline::c on windows 7 (using active perl 5.14), got errors. not sure install library "bufferoverflowu". needed?
perl te.pl set gcc environment - 4.8.2 c:\perl64\bin\perl.exe c:\perl64\lib\extutils\xsubpp -typemap "c:\perl64\lib\extutils\typemap" te1_pl_1114.xs > te1_pl_1114.xsc && c:\perl64\bin\perl.exe -mextutils::command -e "mv" -- te1_pl_1114.xsc te1_pl_1114.c c:/winbui~1/bin/gcc.exe -c -i"c:/winbuild64/test" -dndebug -dwin32 -d_console -dno_strict -dwin64 -dconservative -dperl_textmode_scripts -duse_sitecustomize -dperl_implicit_context -dperl_implicit_sys -duse_perlio -dhasattribute -fno-strict-aliasing -mms-bitfields -o2 -dversion=\"0.00\" -dxs_version=\"0.00\" "-ic:\perl64\lib\core" te1_pl_1114.c running mkbootstrap te1_pl_1114 () c:\perl64\bin\perl.exe -mextutils::command -e "chmod" -- 644 te1_pl_1114.bs c:\perl64\bin\perl.exe -mextutils::mksymlists \ -e "mksymlists('name'=>\"te1_pl_1114\", 'dlbase' => 'te1_pl_1114', 'dl_funcs' => { }, 'funclist' => [], 'imports' => { }, 'dl_vars' => []);" set gcc environment - 4.8.2 dlltool --def te1_pl_1114.def --output-exp dll.exp c:\winbui~1\bin\g++.exe -o blib\arch\auto\te1_pl_1114\te1_pl_1114.dll -wl,--base-file -wl,dll.base -mdll -l"c:\perl64\lib\core" te1_pl_1114.o c:\perl64\lib\core\perl514.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lbufferoverflowu -lmsvcrt dll.exp c:/winbui~1/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbufferoverflowu collect2.exe: error: ld returned 1 exit status dmake.exe: error code 129, while making 'blib\arch\auto\te1_pl_1114\te1_pl_1114.dll' problem encountered while attempting compile , install inline c code. command failed was: c:\perl64\site\bin\dmake.exe > out.make 2>&1 build directory was: c:\winbuild64\test\_inline\build\te1_pl_1114 debug problem, cd build directory, , inspect output files. @ te1.pl line 6 ...propagated @ c:/perl64/site/lib/inline/c.pm line 798. begin failed--compilation aborted @ te1.pl line 6. the perl file simple
use inline c => <<'end_c'; void greet() { printf("hello, world\n"); } end_c greet;
bufferoverflowu not perl library. it's part of windows sdk, though not included in recent versions. @ guess, you're using activeperl, , installed inline::c using ppm. re-create of inline::c have been built against whatever version of windows sdk have on build machines. seem have newer sdk on machine.
you seek downloading latest inline::c tarball , building on own machine. replace old re-create of inline::c, , work.
perl
Comments
Post a Comment