in reply to Re^20: gmake error on Glib compile
in thread gmake error on Glib compile

Hi Rob. Thanks I put those in but had to do glib.xs.dll but that worked.

I got to Gtk3 but it needed Glib-Object-Introspection. This just gives me the 4 lines below which are undefined reference

C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x26d2): undefined reference to `__imp_g_module_open'

C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x26e6): undefined reference to `__imp_g_module_symbol'

C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x2702): undefined reference to `__imp_g_module_close'

C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x27b5): undefined reference to `__imp_g_module_close'

Its getting there

Thanks Mike

Replies are listed 'Best First'.
Re^22: gmake error on Glib compile
by syphilis (Archbishop) on Sep 05, 2023 at 13:18 UTC
    I think they're resolved by MSYS2's libgmodule-2.0.dll.a. So you'll need to do the rename dance for that (and for libffi.dll.a, if you haven't already).
    If that still gives you trouble, I'll probably need to see the EXTRALIBS entry in the Makefile.

    UPDATE: Note that gmake test should just spit out a message that the test script was not run because the test script was not built (for each of the test scripts).

    Cheers,
    Rob

      Thank you so much it was the libgmodule-2.0.dll.a I had already done the libffi.a as that one was clear

      Its all installed even the Gtk3 module

      My initial test from an old glade project fired up perfectly

      Thanks again. Mike

        Its all installed even the Gtk3 module

        Good news !!
        Thanks for persevering ... it's a pity that it just doesn't all build straight out of the box :-(

        Cheers,
        Rob