Subject: | Broken build |
I've got build errors on Windows:
===========================
Compiler: VC2003, Perl: 5.8.5, make tool: nmake (tried both 2.005 and 2.009)
===========================
link -out:blib\arch\auto\Enbugger\Enbugger.dll -dll -nologo
-nodefaultlib -debug -opt:ref,icf -libpath:"O:\work\perl\lib\CORE"
-machine:x86 Enbugger.obj O:\work\perl\lib\CORE\perl58.lib
oldnames.lib kernel32.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 msvcrt.lib -def:Enbugger.def
Creating library blib\arch\auto\Enbugger\Enbugger.lib and object
blib\arch\auto\Enbugger\Enbugger.exp
Enbugger.obj : error LNK2019: unresolved external symbol
_Perl_pp_nextstate referenced in function _alter_cop
Enbugger.obj : error LNK2019: unresolved external symbol
_Perl_pp_dbstate referenced in function _alter_cop
Enbugger.obj : error LNK2019: unresolved external symbol
_Perl_init_debugger referenced in function _XS_Enbugger_init_debugger
blib\arch\auto\Enbugger\Enbugger.dll : fatal error LNK1120: 3 unresolved
externals
===========================
Compiler: mingw, Perl: 5.10.0, make tool: dmake (tried version 2.009
with CPAN+)
===========================
g++ -o blib\arch\auto\Enbugger\Enbugger.dll -Wl,--base-file -Wl,dll.base
-mdll -s -L"I:\dnperl\perl\lib\CORE" -L"I:\dnperl\mingw\lib" Enbugger.o
-Wl,--image-base,0x22090000 I:\dnperl\perl\lib\CORE\libperl510.a
-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
-lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
Enbugger.o:Enbugger.c:(.text+0x82): undefined reference to `Perl_pp_dbstate'
Enbugger.o:Enbugger.c:(.text+0x89): undefined reference to
`Perl_pp_nextstate'
Enbugger.o:Enbugger.c:(.text+0x422): undefined reference to
`Perl_pp_nextstate'
Enbugger.o:Enbugger.c:(.text+0x42d): undefined reference to
`Perl_pp_nextstate'
Enbugger.o:Enbugger.c:(.text+0x502): undefined reference to
`Perl_pp_dbstate'
Enbugger.o:Enbugger.c:(.text+0x50d): undefined reference to
`Perl_pp_dbstate'
Enbugger.o:Enbugger.c:(.text+0x5dc): undefined reference to
`Perl_init_debugger'
Enbugger.o:Enbugger.c:(.text+0xcff): undefined reference to
`Perl_init_debugger'
collect2: ld returned 1 exit status
dmake.EXE: Error code 129, while making
'blib\arch\auto\Enbugger\Enbugger.dll'