Op woensdag 21-01-2009 om 15:57 uur [tijdzone +0200], schreef Ryan
McDougall:
> The following error:
> 
> i686-pc-mingw32-gcc -g -O2 -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -o
> dbus-binding-tool.exe dbus-binding-tool-glib.o dbus-glib-tool.o
> ./.libs/libdbus-gtool.a -L/lib ./.libs/libdbus-glib-1.a
> -L/usr/i686-pc-mingw32/sys-root/mingw/lib -ldbus-1
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libgobject-2.0.dll.a
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libglib-2.0.dll.a -lws2_32
> -lole32 /usr/i686-pc-mingw32/sys-root/mingw/lib/libintl.dll.a
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libiconv.dll.a
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libexpat.dll.a
> -L/usr/i686-pc-mingw32/sys-root/mingw/lib
> -L/usr/i686-pc-mingw32/sys-root/mingw/lib
> Info: resolving _g_ascii_table by linking to __imp__g_ascii_table 
> (auto-import)
> Info: resolving _g_threads_got_initialized by linking to
> __imp__g_threads_got_initialized (auto-import)
> Info: resolving _g_thread_use_default_impl by linking to
> __imp__g_thread_use_default_impl (auto-import)
> Info: resolving _g_thread_functions_for_glib_use by linking to
> __imp__g_thread_functions_for_glib_use (auto-import)
> /usr/lib/gcc/i686-pc-mingw32/4.3.2/../../../../i686-pc-mingw32/bin/ld:
> warning: auto-importing has been activated without
> --enable-auto-import specified on the command line.
> This should work unless it involves constant data structures
> referencing symbols from auto-imported DLLs.
> dbus-binding-tool-glib.o: In function `dbus_binding_tool_output_glib_server':
> /home/ryanm/Code/dbus-glib/dbus/dbus-binding-tool-glib.c:802:
> undefined reference to `_g_file_open_tmp'
> /home/ryanm/Code/dbus-glib/dbus/dbus-binding-tool-glib.c:830:
> undefined reference to `_g_spawn_async_with_pipes'
> dbus-glib-tool.o: In function `main':
> /home/ryanm/Code/dbus-glib/dbus/dbus-glib-tool.c:392: undefined
> reference to `_g_io_channel_new_file'
> ./.libs/libdbus-gtool.a(dbus-gloader-expat.o): In function
> `description_load_from_file':
> /home/ryanm/Code/dbus-glib/dbus/dbus-gloader-expat.c:176: undefined
> reference to `_g_file_get_contents'
> collect2: ld returned 1 exit status

Hi,

I think these errors are caused by a missing "#include
<glib/gfileutils.h>" or "#include <glib.h>" in the files
dbus/dbus-binding-tool-glib.c, dbus/dbus-glib-tool.c and
dbus/dbus-gloader-expat.c.

You can try adding one of those manually to these files to see if that
helps.

Regards,

Erik van Pienbroek
 

_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

Reply via email to