Posted on 2007-11-12 22:36:05-08 by monty416
problem bulding Enbugger 0.03 on Windows
Sorry if this is not the right place to ask for help on problems like this, but I'm having trouble building Enbugger-0.03 on Windows XP, using Perl 5.6.1. Here is the output of running "perl Makefile.PL", then "nmake".
C:\lib\perl5\Enbugger-0.03>perl Makefile.PL Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Enbugger C:\lib\perl5\Enbugger-0.03>"c:\Program Files\Microsoft Visual Studio 8\vc\bin\nmake.exe" Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. cp Enbugger.pm blib\lib\Enbugger.pm C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib C:\Perl\lib\ExtUtils/xsubpp -typemap C:\P +erl\lib\ExtUtils\typemap Enbugger.xs > Enbugger.xsc && C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Per +l\lib -MExtUtils::Command -e mv Enbugger.xsc Enbugger.c cl -c -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMP +LICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG -DVERSION=\"0.03\" -D +XS_VERSION=\"0.03\" -IC:\Perl\lib\CORE Enbugger.c Enbugger.c Running Mkbootstrap for Enbugger () C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e chmod 644 Enbugger. +bs C:\Perl\bin\perl.exe "-IC:\Perl\lib" "-IC:\Perl\lib" -MExtUtils::Mksymlists -e "Mksymlists +('NAME' => 'Enbugger', 'DLBASE' => 'Enbugger', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => +{}, 'DL_VARS' => []);" link -out:blib\arch\auto\Enbugger\Enbugger.dll -dll -nologo -nodefaultlib -release -libpat +h:"C:\Perl\lib\CORE" -machine:x86 Enbugger.obj C:\Perl\lib\CORE\perl56.lib oldnames.lib kernel3 +2.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32. +lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcr +t.lib -def:Enbugger.def Creating library blib\arch\auto\Enbugger\Enbugger.lib and object blib\arch\auto\Enbugger\Enbugge +r.exp Enbugger.obj : error LNK2019: unresolved external symbol _Perl_init_debugger referenced in function _boot_Enbugger blib\arch\auto\Enbugger\Enbugger.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return +code '0x460' Stop.
I tried adding perl56.lib to the LDLOADLIBS line in the Makefile without success. Where is Perl_init_debugger (or _Perl_init_debugger) defined? Do I need an additional module? Any help would be appreciated. Thanks!
Direct Responses: 6445 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.