Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
With all the library files renamed with s/.lib$/.a/i the output is now (I now run dmake twice, which reduces the output to just the failed parts), hmm... no -L"G:\GTK\lib", so my GTK libraries are not being handed to the compiler by dmake?
dlltool --def Glib.def --output-exp dll.exp g++ -o blib\arch\auto\Glib\Glib.dll -Wl,--base-file -Wl,dll.base -mdll + -s -L"G:\strawberry\perl\lib\CORE" -L"G:\strawberry\c\lib" Glib.o GE +rror.o GUtils.o GLog.o GType.o GBoxed.o GObject.o GValue.o GClosure.o + GSignal.o GMainLoop.o GIOChannel.o GParamSpec.o GKeyFile.o GBookmark +File.o gperl-gtypes.o -Wl,--image-base,0x69080000 G:\strawberry\perl +\lib\CORE\libperl510.a G:\strawberry\c\lib\libmsvcrt.a G:\strawberry\ +c\lib\libmoldname.a G:\strawberry\c\lib\libkernel32.a G:\strawberry\c +\lib\libuser32.a G:\strawberry\c\lib\libgdi32.a G:\strawberry\c\lib\l +ibwinspool.a G:\strawberry\c\lib\libcomdlg32.a G:\strawberry\c\lib\li +badvapi32.a G:\strawberry\c\lib\libshell32.a G:\strawberry\c\lib\libo +le32.a G:\strawberry\c\lib\liboleaut32.a G:\strawberry\c\lib\libnetap +i32.a G:\strawberry\c\lib\libuuid.a G:\strawberry\c\lib\libws2_32.a G +:\strawberry\c\lib\libmpr.a G:\strawberry\c\lib\libwinmm.a G:\strawbe +rry\c\lib\libversion.a G:\strawberry\c\lib\libodbc32.a G:\strawberry\ +c\lib\libodbccp32.a dll.exp Glib.o:Glib.c:(.text+0x10e): undefined reference to `g_return_if_fail_ +warning' Glib.o:Glib.c:(.text+0x177): undefined reference to `g_filename_from_u +tf8_utf8' Glib.o:Glib.c:(.text+0x1a6): undefined reference to `g_free' Glib.o:Glib.c:(.text+0x213): undefined reference to `g_filename_to_utf +8_utf8' Glib.o:Glib.c:(.text+0x23b): undefined reference to `g_free' Glib.o:Glib.c:(.text+0x338): undefined reference to `g_malloc' # SNIP! cut out another thousand "undefinde reference to" gperl-gtypes.o:gperl-gtypes.c:(.text+0xe2): undefined reference to `g_ +enum_register_static' gperl-gtypes.o:gperl-gtypes.c:(.text+0x112): more undefined references + to `g_enum_register_static' follow collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\Glib\Glib.dll'

In reply to Re^2: RFC: Setting up a minGW compiling envronment for Perl 5.10 by Bloodrage
in thread RFC: Setting up a minGW compiling envronment for Perl 5.10 by Bloodrage

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the rats come out to play...

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (4)
    As of 2017-11-25 03:15 GMT
    Find Nodes?
      Voting Booth?
      In order to be able to say "I know Perl", you must have:

      Results (355 votes). Check out past polls.