Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Win32::API x64 compile fail
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -mdll -s -L"C:\Programs\strawberry-perl\perl\lib\CORE" -L"C:\Programs\strawberry-perl\c\lib" Callback.o -Wl,--image-base,0x21000000 C:\Programs\strawberry-perl\perl\lib\CORE\libperl511.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\Programs\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 ..\blib\arch\auto\Win32\API\Callback\Callback.dll
C:\Programs\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Callback.bs ..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\Programs\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 ..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\Programs\strawberry-perl\perl\bin\perl.exe C:\Programs\strawberry-perl\perl\lib\ExtUtils\xsubpp -typemap C:\Programs\strawberry-perl\perl\lib\ExtUtils\typemap -typemap typemap API.xs > API.xsc && C:\Programs\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- API.xsc API.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.59\" -DXS_VERSION=\"0.59\" "-IC:\Programs\strawberry-perl\perl\lib\CORE" API.c
API.xs: In function 'XS_Win32__API_GetProcAddress':
API.xs:127: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_PointerTo':
API.xs:206: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_ReadMemory':
API.xs:223: warning: cast to pointer from integer of different size
C:\Users\robin\AppData\Local\Temp\ccj6FJ5r.s: Assembler messages:
C:\Users\robin\AppData\Local\Temp\ccj6FJ5r.s:3043: Error: suffix or operands invalid for `push'
C:\Users\robin\AppData\Local\Temp\ccj6FJ5r.s:3046: Error: suffix or operands invalid for `push'
dmake.EXE: Error code 129, while making 'API.o'
(C:\Programs\strawberry-perl\c\bin\dmake.EXE exited with 65280)
CPAN::Reporter: dmake result is 'unknown', Stopped with an error.
CPAN::Reporter: preparing a CPAN Testers report for Win32-API-0.59
CPAN::Reporter: this appears to be a duplicate report for the make phase:
UNKNOWN Win32-API-0.59 MSWin32-x64-multi-thread 6.1
Test report will not be sent.
COSIMO/Win32-API-0.59.tar.gz
C:\Programs\strawberry-perl\c\bin\dmake.EXE -- NOT OK
CPAN: YAML loaded ok (v0.71)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.