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.