in reply to Re^2: Problems building Perl
in thread Problems building Perl

I ran dmake -V. This is the print out:

I have the same version of dmake - there's certainly no problem with it when it comes to building perl.

So ... we start to question how you are going about building perl. If you extract perl-5.10.1.tar.gz to some location (let's assume it's C:/my_build) and then 'cd' to C:/my_build/perl-5.10.1/win32, you should be able to run dmake -f makefile.mk and have that succeed. (That's without first making any amendments to makefile.mk or any other file - which means that the perl that's built might not be configured as you would want. But dmake -f makefile.mk should run to completion without producing any errors.)

What happens when you try that ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Problems building Perl
by mhartman (Novice) on Mar 08, 2010 at 11:23 UTC

    I deleted my previous perl folder and extracted perl-5.10.1.tar.gz to 'C:\Install\perl-5.10.1'.

    Thereafter, I changed directory to 'C:\Install\perl-5.10.1\win32' and ran 'dmake -f makefile.mk'.

    The make seemed to take considerably longer, but I got the same error as before. There were also many undefined references reported prior to the error being reported.

      There were also many undefined references reported prior to the error being reported.

      Ok .. looks as though there might be a problem with your MinGW installation. Can you give us a copy'n'paste of some of those "undefined reference" messages - you should have got no such messages at all.

      Also, how did you install MinGW ?

      Cheers,
      Rob

        I installed MingW by running the MinGW-5.1.6.exe install shield, that installed MingW onto my machine in the 'C:\MingW' folder.

        I have included a printout of the error that I received:

        C:\DOCUME~1\za100014\LOCALS~1\Temp\mk11 perllib.o:perllib.c:(.text+0x3e4a): undefined reference to `_Unwind_Resume' perllib.o:perllib.c:(.text+0x3f0c): undefined reference to `_Unwind_Resume' perllib.o:perllib.c:(.text+0x40b4): undefined reference to `_Unwind_Resume' perllib.o:perllib.c:(.text+0x42ca): undefined reference to `_Unwind_Resume' perllib.o:perllib.c:(.text+0x45ec): undefined reference to `_Unwind_Resume' perllib.o:perllib.c:(.text+0x46e2): more undefined references to `_Unwind_Resume ' follow perllib.o:perllib.c:(.eh_frame+0x12): undefined reference to `__gxx_personality_ v0' collect2: ld returned 1 exit status dmake: Error code 129, while making '..\perl510.dll'

        Regards Morne