Mail Archives: cygwin/2005/01/25/16:59:27
Yitzchak Scott-Thoennes wrote:
> On Mon, Jan 24, 2005 at 11:53:46PM +0100, Gerrit P. Haase wrote:
>>perlfilter.o(.text+0x36):perlfilter.c: undefined reference to `_boot_'
>>
>>
>>It seems that the xsinit.c file was generated wrong:
>>
>>========= xsinit.c =========
>>#include <EXTERN.h>
>>#include <perl.h>
>>
>>EXTERN_C void xs_init (pTHX);
>>
>>EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
>>EXTERN_C void boot_ (pTHX_ CV* cv);
>>EXTERN_C void boot_Win32CORE (pTHX_ CV* cv);
>>
>>EXTERN_C void
>>xs_init(pTHX)
>>{
>> char *file = __FILE__;
>> dXSUB_SYS;
>>
>> /* DynaLoader is a special case */
>> newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
>> newXS("::bootstrap", boot_, file);
>> newXS("Win32CORE::bootstrap", boot_Win32CORE, file);
>>}
>>========= xsinit.c =========
>>
>>From Makefile.am:
>>xsinit.c: config.status
>> @PERL@ -MExtUtils::Embed -e xsinit -- -o xsinit.c -std
>>
>>This is expanded in the Makefile to:
>>xsinit.c: config.status
>> /usr/bin/perl -MExtUtils::Embed -e xsinit -- -o xsinit.c -std
>>
>>
>>Maybe it is related to the inclusion of Win32CORE, however it is
>>dubious that there is bootstrap code for an anonym module anyway.
>>
>>Is there s.th. wrong in my Cygwin perl build, where should I look at
>>first to find the reason for this problem, any hint appreciated.
>
>
> Hmm. Does it still happen if you try against a perl5.8.6 without the
> Win32CORE staticly linked?
No, looks like this without Win32CORE statically linked in:
========= xsinit.c =========
#include <EXTERN.h>
#include <perl.h>
EXTERN_C void xs_init (pTHX);
EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
EXTERN_C void
xs_init(pTHX)
{
char *file = __FILE__;
dXSUB_SYS;
/* DynaLoader is a special case */
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
}
========= xsinit.c =========
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -