Help with Win32 MinGW build
I am having difficulties trying to build Inkscape using the procedures described on the Wiki Win32Port page.
I believe I have followed Bob Jamison's directions to the letter. I hate to admit defeat, but I am in need of newbie help.
I am using MinGW V3.1.0-1, ink32libs-050202.7z, and a fresh CVS update as of today, 4/10. Everything is installed in the default locations:
C:/mingw, c:/gtk.
Other than a few seemingly innocuous type mismatch warnings, everything seems to compile OK until I start getting a large number of undefined references, such as:
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x203e): In function `ZNK3Gtk9Clipboard16wait_for_targetsEv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4. 2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x2316): In function `ZN41_GLOBAL__N_clipboard.cc_3F6EE7DC_4C12096827Signal
Proxy_TargetsReceived12gtk_callbackEP13_GtkClipboardPP8_GdkAtomiPv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4. 2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
This continues until the make terminates due to errors:
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text+0x392): In function `ZN4sigc8internal23trackable_callback_list12add_callback
EPvPFS2_S2_E':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4. 2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text$_ZNSt4listIN4sigc8internal18trac kable_callbackESaIS2_EE5eraseESt14_List_iter
atorIS2_E+0x15): In function `ZN4sigc9trackableC1Ev':
/home/rjamison/xmingw/libsigc++-2.0.3/sigc++/trackable.cc:30: undefined reference to `std::_List_node_base::unhook()'
make[1]: *** [inkscape.exe] Error 1
make[1]: Leaving directory `C:/inkscape/inkscape/src'
make: *** [all] Error 2
Any help or pointers would be greatly appreciated.
Thanks,
Bill
Hi William,
I suppose you use a DOS-command shell on windows ?
when I do a compile roundtrip I do:
- copy config.h.mingw to config.h - I run the folling scripts in inkscape\src: mkfiles.pl mkdep.pl makedef.pl in order to build the makefile dependencies (make.files, make.dep, make.exclude). This might not neccesary for you as they are also in the CVS -open the command shell in the inkscape directory - blah\incscape> mingwenv in order to set the environment variables according my specs - blah\inkscape> mingw32-make -f makefile.mingw in order to do all the make - blah\inkscape> mingw32-make -f makefile.mingw dist in order to create a full running distri in the inkscape\inkscape subdirectory
!!!! I do not use any msys or cygwin environment !!!! Your ..../usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/... looks stranage to me. Where does it come from ?
HTH,
Adib. -----
William Lear schrieb:
I am having difficulties trying to build Inkscape using the procedures described on the Wiki Win32Port page.
I believe I have followed Bob Jamison’s directions to the letter. I hate to admit defeat, but I am in need of newbie help.
I am using MinGW V3.1.0-1, ink32libs-050202.7z, and a fresh CVS update as of today, 4/10. Everything is installed in the default locations:
C:/mingw, c:/gtk.
Other than a few seemingly innocuous type mismatch warnings, everything seems to compile OK until I start getting a large number of undefined references, such as:
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x203e): In function `ZNK3Gtk9Clipboard16wait_for_targetsEv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x2316): In function `ZN41_GLOBAL__N_clipboard.cc_3F6EE7DC_4C12096827Signal
Proxy_TargetsReceived12gtk_callbackEP13_GtkClipboardPP8_GdkAtomiPv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
This continues until the make terminates due to errors:
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text+0x392): In function `ZN4sigc8internal23trackable_callback_list12add_callback
EPvPFS2_S2_E':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text$_ZNSt4listIN4sigc8internal18trackable_callbackESaIS2_EE5eraseESt14_List_iter
atorIS2_E+0x15): In function `ZN4sigc9trackableC1Ev':
/home/rjamison/xmingw/libsigc++-2.0.3/sigc++/trackable.cc:30: undefined reference to `std::_List_node_base::unhook()'
make[1]: *** [inkscape.exe] Error 1
make[1]: Leaving directory `C:/inkscape/inkscape/src'
make: *** [all] Error 2
Any help or pointers would be greatly appreciated.
Thanks,
Bill
Thank you for your help, but still no luck.
Yes I am running from a DOS command shell in windows. I cd into the inkscape working directory and run mingwenv.bat to set the path.
I do not know where the path ..../usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/... Is coming from. Perhaps someone can help explain this. I searched my entire disk and found no 'i686-pc-mingw32' or '3.4.2' directories
Also, where are the references to /home/rjamison/xmingw/... coming from?
I did have msys installed, and did not see any conflicts, but I uninstalled it anyway and made sure that no remnants remained in my path variable.
I saved the current inkscape config.h, renamed config.h.mingw, and ran the three perl scripts - no errors or problems were reported.
I then ran mingw32-make -f makefile.mingw clean and mingw32-make -f makefile.mingw
and received the same errors as before : multiple undefined references such as `std::_List_node_base::hook(std::_List_node_base*)' `std::_List_node_base::unhook()'
Concluding with:
/home/rjamison/xmingw/libsigc++-2.0.3/sigc++/trackable.cc:30: undefined reference to `std::_List_node_base::unhook()' make[1]: *** [inkscape.exe] Error 1 make[1]: Leaving directory `C:/inkscape/inkscape/src' make: *** [all] Error 2
-----Original Message----- From: Adib Taraben [mailto:taraben.a@...50...] Sent: Sunday, April 10, 2005 3:42 PM To: William Lear Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Help with Win32 MinGW build
Hi William,
I suppose you use a DOS-command shell on windows ?
when I do a compile roundtrip I do:
- copy config.h.mingw to config.h - I run the folling scripts in inkscape\src: mkfiles.pl mkdep.pl makedef.pl in order to build the makefile dependencies (make.files, make.dep, make.exclude). This might not neccesary for you as they are also in the CVS -open the command shell in the inkscape directory - blah\incscape> mingwenv in order to set the environment variables according my specs - blah\inkscape> mingw32-make -f makefile.mingw in order to do all the make - blah\inkscape> mingw32-make -f makefile.mingw dist in order to create a full running distri in the inkscape\inkscape subdirectory
!!!! I do not use any msys or cygwin environment !!!! Your ..../usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/... looks stranage to me. Where does it come from ?
HTH,
Adib. -----
William Lear schrieb:
I am having difficulties trying to build Inkscape using the procedures described on the Wiki Win32Port page.
I believe I have followed Bob Jamison's directions to the letter. I hate to admit defeat, but I am in need of newbie help.
I am using MinGW V3.1.0-1, ink32libs-050202.7z, and a fresh CVS update as of today, 4/10. Everything is installed in the default locations:
C:/mingw, c:/gtk.
Other than a few seemingly innocuous type mismatch warnings, everything seems to compile OK until I start getting a large number of undefined references, such as:
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x203e): In function `ZNK3Gtk9Clipboard16wait_for_targetsEv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4. 2/bits/stl_list.h:1162:
undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x2316): In function `ZN41_GLOBAL__N_clipboard.cc_3F6EE7DC_4C12096827Signal
Proxy_TargetsReceived12gtk_callbackEP13_GtkClipboardPP8_GdkAtomiPv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4. 2/bits/stl_list.h:1162:
undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
This continues until the make terminates due to errors:
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text+0x392): In function `ZN4sigc8internal23trackable_callback_list12add_callback
EPvPFS2_S2_E':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4. 2/bits/stl_list.h:1162:
undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text$_ZNSt4listIN4sigc8internal18trac kable_callbackESaIS2_EE5eraseESt14_List_iter
atorIS2_E+0x15): In function `ZN4sigc9trackableC1Ev':
/home/rjamison/xmingw/libsigc++-2.0.3/sigc++/trackable.cc:30: undefined reference to `std::_List_node_base::unhook()'
make[1]: *** [inkscape.exe] Error 1
make[1]: Leaving directory `C:/inkscape/inkscape/src'
make: *** [all] Error 2
Any help or pointers would be greatly appreciated.
Thanks,
Bill
participants (2)
-
Adib Taraben
-
William Lear