develooper Front page | perl.perl5.porters | Postings from February 2003

Re: MSWin32 seems lost again (18785)

Thread Previous | Thread Next
Nicholas Clark
February 28, 2003 14:25
Re: MSWin32 seems lost again (18785)
Message ID:
On Fri, Feb 28, 2003 at 10:55:51PM +0100, Abe Timmerman wrote:
> Op een zonnige winterdag (Friday 28 February 2003 14:33), schreef Gurusamy 
> Sarathy:

> > That's not sufficient on platforms that need to be told which
> > symbols actually need to be exported (aix/os2/win*/macos/etc).
> > assumes by default that all symbols mentioned in
> > embed.fnc need exporting, so you need to tell it otherwise
> > since the above symbol is only conditionally available.

> Next problem (is this still COW related?)
> g++ -o ..\..\..\lib\auto\B\C\C.dll -Wl,--base-file -Wl,dll.base -mdll -g 
> -L"c:\o
> pt\perl590\lib\CORE" -L"C:\MinGW\lib" C.o -Wl,--image-base,0x2f2e0000  
> ..\..\..\lib\CORE\libperl59.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 
> -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 
> -luuid -lwsock32 -lmpr -lwinmm -lversion -lodbc32 dll.exp
> C.o: In function `my_runops':
> C:/bleadperl/perl-current/ext/B/C/C.xs:46: undefined reference to 
> `Perl_sv_free2'
> dmake.exe:  Error code 1, while making '..\..\..\lib\auto\B\C\C.dll'
> dmake.exe:  Error code 255, while making 'subdirs'
> Unsuccessful make(B): code=65280 at line 98.
> dmake.exe:  Error code 2, while making 'Extensions'

Well, it is part of the COW changes. What doesn't make sense is that based on
its line in embed.fnc and what Sarathy said:

po      |void   |sv_free2       |SV* sv

I can't see why it's not already being exported for Win32

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About