Skip Menu |

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 31904
Status: resolved
Priority: 0/
Queue: Devel-Declare

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.001006
Fixed in: 0.002001



Subject: make: undefined reference to `Perl_allocmy'
Win32 Vanilla Perl 5.8.8. C:\vanilla-perl\perl\bin\vperl.exe "-Iinc" C:\vanilla-perl\perl\lib\ExtUtils\xsubpp -typemap C:\vanilla-perl\perl\lib\ExtUtils\typemap Declare.xs > Declare.xsc && C:\vanilla-perl\perl\bin\vperl.exe "-Iinc" -MExtUtils::Command -e mv Declare.xsc Declare.c gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.001006\" -DXS_VERSION=\"0.001006\" "-IC:\vanilla-perl\perl\lib\CORE" Declare.c Running Mkbootstrap for Devel::Declare () C:\vanilla-perl\perl\bin\vperl.exe "-Iinc" -MExtUtils::Command -e chmod 644 Declare.bs C:\vanilla-perl\perl\bin\vperl.exe "-Iinc" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Devel::Declare\", 'DLBASE' => 'Declare', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Declare.def --output-exp dll.exp g++ -o blib\arch\auto\Devel\Declare\Declare.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"c:\vanilla-perl\perl\lib\CORE" -L"c:\vanilla-perl\mingw\lib" Declare.o -Wl,--image-base,0x25170000 C:\vanilla-perl\perl\lib\CORE\libperl58.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp Declare.o:Declare.c:(.text+0x1d44): undefined reference to `Perl_allocmy' collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\Devel\Declare\Declare.dll' -- Alexandr Ciornii, http://chorny.net
Does this still happen with 0.002000?
Oct 04 09:19:54 2008, FLORA wrote: Show quoted text
> Does this still happen with 0.002000?
It works in 0.002000. AFAIK, this means that '#define PERL_CORE' can be removed. -- Alexandr Ciornii, http://chorny.net