Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 30917
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: m.nooning [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.976
Fixed in: (no value)



Subject: main.c: undefined reference to `boot_Win32CORE'
Microsoft Windows XP [Version 5.1.2600], ActiveState Perl build 822 [280952]. mingw compiler. I found that I had three perls installed, 819, 820 and 822. I used control panel to remove all three of them. I used regedit to remove references to perl from the registry so that I would get a clean install. I did *not* remove my C:\perl. I downloaded and installed the mentioned ActiveState perl. I downloaded and installed PAR 0.976. I cannot install C:\temp\PAR-Packer-0.976. I did nmake clean perl -MConfig_m Makefile.PL nmake which resulted in the pase below. C:\temp\PAR-Packer-0.976>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe "-Minc::Module::Install" -e "extract_par(q(PAR-Packer-0.976-MSWin32-x86-multi-th read-5.8.8.par))" Set up gcc environment - 3.4.2 (mingw-special) cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm cp lib/PAR/StrippedPARL/Dynamic.pm blib\lib\PAR\StrippedPARL\Dynamic.pm cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm cp lib/pp.pm blib\lib\pp.pm cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm cp lib/PAR/StrippedPARL/Static.pm blib\lib\PAR\StrippedPARL\Static.pm nmake -f Makefile all -nologo gcc -c -O2 -DWIN32 -DPERL_IMPLICIT_CONTEXT -DPERL_MSVCRT_READFIX -I"C:\Perl\lib\CORE" main.c g++ main.o my_par_pl.o win32.coff -s -s -L"C:\Perl\lib\CORE" C:\Perl\lib\CORE\libperl58.a C:\MinGW\lib\libmsvcrt.a C:\MinGW\lib\libmoldname.a C:\MinGW\lib\libkernel32.a C:\MinGW\lib\libuser32.a C:\MinGW\lib\libgdi32.a C:\MinGW\lib\libwinspool.a C:\MinGW\lib\libcomdlg32.a C:\MinGW\lib\libadvapi32.a C:\MinGW\lib\libshell32.a C:\MinGW\lib\libole32.a C:\MinGW\lib\liboleaut32.a C:\MinGW\lib\libnetapi32.a C:\MinGW\lib\libuuid.a C:\MinGW\lib\libwsock32.a C:\MinGW\lib\libmpr.a C:\MinGW\lib\libwinmm.a C:\MinGW\lib\libversion.a C:\MinGW\lib\libodbc32.a --output .\par.exe main.o(.text+0x3c):main.c: undefined reference to `boot_Win32CORE' main.o(.text+0x2b26):main.c: undefined reference to `Perl_newXS_flags' collect2: ld returned 1 exit status NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop.
Subject: Re: [rt.cpan.org #30917] AutoReply: main.c: undefined reference to `boot_Win32CORE'
Date: Fri, 23 Nov 2007 12:58:53 -0500
To: bug-PAR [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
I found a solution, but I am not 100% sure of why I can get Par::Packer to install. I am going to write out the solution in case others get this problem with a fresh Perl install. During past years, I have always used the same steps when installing a module on Windows with mingw. Namely, perl -MConfig_m Makefile.PL (this is what no longer works?) nmake nmake test nmake install. On 8/22/2007 9:00 PM, Mark Dootson wrote into nntp.perl.org about installing Par::Packer using mingw, using ActivePerl build 822. He did "perl Makefile.PL", which bypasses ExtUtils::FakeConfig, which always used to be necessary. I did as he did (except he used dmake and not nmake) and it worked. It would be nice if we no longer needed ExtUtils::FakeConfig, with build 822 and higher. I guess I will find out as I go along. In any case, this ticket can now be closed out.
Hi Malcolm, thanks for following up on the ticket. I'm marking it as resolved as requested. Best regards, Steffen