[Module-build-general] Compiling better but still unwell on Cygwin
Status: Beta
Brought to you by:
kwilliams
From: Michael G S. <sc...@po...> - 2002-12-09 08:58:54
|
Trying the CVS snapshot on Cygwin, we get up to linking and then things go wrong. $Config{ld} is ld2 which calls perlld which calls dllwrap which does the actual linking. dllwrap is complaining. Here's part of the xs.t output. ok 3 lib/XSTest.pm -> blib/lib/XSTest.pm gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -Iusr/lib/perl5/5.6.1/cygwin-multi/CORE -o lib/XSTest.o lib/XSTest.c lib/XSTest.bs -> blib/arch/auto/XSTest/XSTest.bs env LD_RUN_PATH=/usr/lib/perl5/5.6.1/cygwin-multi/CORE ld2 -s -L/usr/local/lib -o blib/arch/auto/XSTest.dll lib/XSTest.o dllwrap --dllname XSTest.dll --driver-name gcc --dlltool ddlltool --export-all-symbols --as as --output-def libXSTest.def --output-lib lbXSTest.a \ -s -L/usr/local/lib lib/XSTest.o dllwrap: no export definition file provided. Creating one, but that may not be what you want lib/XSTest.o(.tet+0x2d):XSTest.c: undefined reference to '_Perl_Gcurinterp_ptr' ...etc... Not sure what dllwrap is yelling about. There's no man page. -- Michael G. Schwern <sc...@po...> http://www.pobox.com/~schwern/ Perl Quality Assurance <pe...@pe...> Kwalitee Is Job One Let's leave my ass out of this, shall we? |