develooper Front page | perl.perl5.porters | Postings from August 2001

perl@11660 DynaLoader (Perl_sharedsv*) doesn't link on win32

Thread Next
From:
Blair Zajac
Date:
August 13, 2001 15:24
Subject:
perl@11660 DynaLoader (Perl_sharedsv*) doesn't link on win32
Message ID:
3B780B36.10495F1B@gps.caltech.edu
Using perl@11660 on W2K SP2, Visual Studio 6 SP5 with the following
patch to win32/Makefile as the only modification to the package:

$ diff Makefile.FCS Makefile
23c23
< INST_TOP      = $(INST_DRV)\perl
---
> INST_TOP      = $(INST_DRV)\perl11660
97c97
< #CCTYPE               = MSVC60
---
> CCTYPE                = MSVC60
102c102
< #CFG          = Debug
---
> CFG           = Debug

The following happens.  I typically see unresolved symbols when
compiling
Perl, but they don't cause the compilation to fail.

        ..\..\miniperl.exe -I..\..\lib ..\..\lib\ExtUtils\xsubpp  -C++
-prototyp
es dl_win32.xs > DynaLoader.c
        cd ..\..\win32
        cl -c -I..\ext\DynaLoader -nologo -Gf -W3 -I..\lib\CORE
-I.\include -I.
-I.. -DWIN32 -D_CONSOLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD -Zi
-DDEBUG
GING  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_REA
DFIX -Fo..\ext\DynaLoader\DynaLoader.obj ..\ext\DynaLoader\DynaLoader.c
DynaLoader.c
        link -dll -def:perldll.def -base:0x28000000 -out:..\perl57.dll
@C:\DOCUM
E~1\ADMINI~1\LOCALS~1\Temp\nmb02228.
perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_find
perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_init
perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_lock
perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_new
perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_thrcnt_dec

perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_thrcnt_inc

perldll.def : error LNK2001: unresolved external symbol
Perl_sharedsv_unlock
..\perl57.lib : fatal error LNK1120: 7 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About