Fails to build under Cygwin with Perl 5.8.8 and gcc 3.4.4:
Show quoted text
> make
cp Perl.pm blib/lib/Perl.pm
/usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc
&& mv Perl.xsc Perl.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -DUSEIMPORTLIB -O3 -pipe -funit-at-a-time
-mtune=pentium4m -march=pentium4 -mfpmath=sse -mieee-fp -mmmx -msse
-msse2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\"
"-I/usr/lib/perl5/5.8/cygwin/CORE" Perl.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -DUSEIMPORTLIB -O3 -pipe -funit-at-a-time
-mtune=pentium4m -march=pentium4 -mfpmath=sse -mieee-fp -mmmx -msse
-msse2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\"
"-I/usr/lib/perl5/5.8/cygwin/CORE" xsinit.c
Running Mkbootstrap for Perl ()
chmod 644 Perl.bs
rm -f blib/arch/auto/Perl/Perl.dll
/usr/bin/ld2 -s -L/usr/local/lib Perl.o xsinit.o -o
blib/arch/auto/Perl/Perl.dll \
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a \
gcc -shared -o Perl.dll -Wl,--out-implib=libPerl.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
-s -L/usr/local/lib Perl.o xsinit.o
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
xsinit.o:xsinit.c:(.text+0x16): undefined reference to `_boot_DynaLoader'
xsinit.o:xsinit.c:(.text+0x39): undefined reference to `_boot_Win32CORE'
Creating library file: libPerl.dll.a
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o Perl.dll -Wl,--out-implib=libPerl.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
-s -L/usr/local/lib Perl.o xsinit.o
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
make: *** [blib/arch/auto/Perl/Perl.dll] Error 1