What I'm getting for the new mingw and dmake is (only errors and warnings):-
gcc -c -I.\include -I. -I.. -I..\lib\CORE -DWIN32 -DHAVE_DES_FCRYPT -DPERLDLL -PERL_CORE -s -O2 -o.\mini\win32.o win32.c<br> lots of lines like that, then some warnings:-
win32.c: In function `win32_execv':<br> win32.c:4051: warning: passing arg 3 of `spawnv' from incompatible poi +nter type<br> win32.c:4053: warning: passing arg 2 of `execv' from incompatible poin +ter type<br> win32.c: In function `win32_execvp': win32.c:4073: warning: passing arg 2 of `execvp' from incompatible poi +nter type<br>
Then a load more like the first with some:-
C:\Perl\SOURCE\AP810_source\warnings.h -> C:\Perl\SOURCE\AP810_source\lib\CORE\warnings.h<br> Then some more warnings:-
In file included from perllib.c:34:<br> perlhost.h: In function `CPerlHost* IPerlMem2Host(IPerlMem*)': perlhost.h:239: warning: invalid offsetof from non-POD type `class CPe +rlHost'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlMemShared2Host(IPerlMem*)': p +erlhost.h:244: warning: invalid offsetof from non-POD type `class CPe +rlHost'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlMemParse2Host(IPerlMem*)': pe +rlhost.h:249: warning: invalid offsetof from non-POD type `class CPer +lHost'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlEnv2Host(IPerlEnv*)': perlhos +t.h:254: warning: invalid offsetof from non-POD type `class CPerlHost +'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlStdIO2Host(IPerlStdIO*)': per +lhost.h:259: warning: invalid offsetof from non-POD type `class CPerl +Host'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlLIO2Host(IPerlLIO*)': perlhos +t.h:264: warning: invalid offsetof from non-POD type `class CPerlHost +'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlDir2Host(IPerlDir*)': perlhos +t.h:269: warning: invalid offsetof from non-POD type `class CPerlHost +'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlSock2Host(IPerlSock*)': perlh +ost.h:274: warning: invalid offsetof from non-POD type `class CPerlHo +st'; use pointer to member instead<br> perlhost.h: In function `CPerlHost* IPerlProc2Host(IPerlProc*)': perlh +ost.h:279: warning: invalid offsetof from non-POD type `class CPerlHo +st'; use pointer to member instead

Then:-
win32.c: In function `win32_execv':<br> win32.c:4051: warning: passing arg 3 of `spawnv' from incompatible poi +nter type<br> win32.c:4053: warning: passing arg 2 of `execv' from incompatible poin +ter type<br> win32.c: In function `win32_execvp': win32.c:4073: warning: passing arg 2 of `execvp' from incompatible poi +nter type<br>
And finally:-
perldll.rc:10:23: BuildInfo.h: No such file or directory<br> windres: gcc exited with status 1<br> dmake.exe: Error code 1, while making '.\perldll.res'<br>
Why isn't it picking up BuildInfo.h? It's in the ../ folder.

What versions on MinGW and Dmake is everyone else using?

Lyle

In reply to Re: Win32 Perl build make problem by cosmicperl
in thread Win32 Perl build make problem by cosmicperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.