in reply to Re^4: How convert header file to XS by h2xs?
in thread How convert header file to XS by h2xs?
We first ought to find out why it's not working for you.C:\_32\pscrpt\Mytest>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Mytest C:\_32\pscrpt\Mytest>dmake cp lib/Mytest.pm blib\lib\Mytest.pm C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp + -typemap C:\strawberry\perl\lib\ExtUtils\typemap Mytest.xs > Mytest.xsc && C: +\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Mytest.x +sc Mytest.c Please specify prototyping behavior for Mytest.xs (see perlxs manual) gcc -c -I. -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE - +DPERL_IMPL ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_RE +ADFIX -s - O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\strawberr +y\perl\lib \CORE" Mytest.c Running Mkbootstrap for Mytest () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 +Mytest.bs C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Mytest\", 'DLBASE' => 'Mytest', 'DL_FUNC +S' => { } , 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Mytest.def --output-exp dll.exp g++ -o blib\arch\auto\Mytest\Mytest.dll -Wl,--base-file -Wl,dll.base - +mdll -s -L "C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Mytest.o -Wl,--i +mage-base, 0x3e0d0000 C:\strawberry\perl\lib\CORE\libperl510.a -lmoldname -lkern +el32 -luse r32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleau +t32 -lneta pi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.e +xp dlltool --def Mytest.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\Mytest\Mytest.dll -mdll -s -L"C:\strawberry\perl +\lib\CORE" -L"C:\strawberry\c\lib" Mytest.o -Wl,--image-base,0x3e0d0000 C:\stra +wberry\per l\lib\CORE\libperl510.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinsp +ool -lcomd lg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -l winmm -lversion -lodbc32 -lodbccp32 dll.exp C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 +blib\arch\ auto\Mytest\Mytest.dll C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Mytest. +bs blib\ar ch\auto\Mytest\Mytest.bs C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 +blib\arch\ auto\Mytest\Mytest.bs C:\_32\pscrpt\Mytest>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How convert header file to XS by h2xs?
by xiaoyafeng (Deacon) on Mar 20, 2010 at 14:37 UTC | |
by almut (Canon) on Mar 21, 2010 at 10:01 UTC | |
|
Re^6: How convert header file to XS by h2xs?
by xiaoyafeng (Deacon) on Mar 20, 2010 at 14:42 UTC |