Multiple definitions of 'g_module_supported'



Hi.

Looking around the net this is the most likely list I could find to
answer my problem.

Does anyone know how to get round this error? It appears I have two
versions of the same file but I don't know why/how it happened or how to
fix it. I'm guessing it could be a problem in my Makefile but have no
clear idea what needs to be changed.

-----
make[2]: Entering directory `/usr/local/ardour/quasimodo/libs/gtkmmext'
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I.   
-g -O3 -I/usr/local//include/glib-1.2 -I/usr/local//lib/glib/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/lib/gtkmm/include -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/lib/sigc++/include -I/usr/local/include
-I/usr/local/lib/sigc++/include -I/usr/local/lib/sigc++/include
-I/usr/local/include -c version.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O3
-I/usr/local//include/glib-1.2 -I/usr/local//lib/glib/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/lib/gtkmm/include -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/lib/sigc++/include -I/usr/local/include
-I/usr/local/lib/sigc++/include -I/usr/local/lib/sigc++/include
-I/usr/local/include -Wp,-MD,.deps/version.pp -c version.cc  -fPIC -DPIC
-o version.lo
/bin/sh ./libtool --mode=link c++  -g -O3 -I/usr/local//include/glib-1.2
-I/usr/local//lib/glib/include -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/X11R6/include -I/usr/local/lib/gtkmm/include -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/lib/sigc++/include -I/usr/local/include
-I/usr/local/lib/sigc++/include -I/usr/local/lib/sigc++/include
-I/usr/local/include  -o libgtkmmext.la -rpath /usr/local/lib -release
2-11-1 ui_plugin.lo controller.lo slider_controller.lo pix.lo
shaped_window.lo utils.lo prompter.lo hexentry.lo auto_spin.lo
spinner.lo selector.lo textviewer.lo popup_selector.lo popup.lo
choice.lo click_box.lo led.lo pixmap_button.lo version.lo gtk_ui.lo
gtk_ellipsoid.lo generic_motion_feedback.lo motionfeedback.lo gtkrgb.lo
gtkdatabox.lo gtklevelhold.lo gtktransparency.lo gdkutils.lo
gtkmarkedcurve.lo gtkutils.lo gtkpixscrollbar.lo marked_curve.lo
transparency.lo rgb.lo levelhold.lo databox.lo  -L/usr/local//lib -lglib
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXext -lX11 -lm -rdynamic -L/usr/local/lib -L/usr/X11R6/lib
-lgtkmm -lgdkmm -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm
-lsigc -lpthread -L/usr/local/lib -lpbd -lltdl -lsigc -lpthread
-L/usr/local/lib -lsigc -lpthread
mkdir .libs
rm -fr .libs/libgtkmmext.la .libs/libgtkmmext.*
.libs/libgtkmmext-2-11-1.*
gcc -shared  ui_plugin.lo controller.lo slider_controller.lo pix.lo
shaped_window.lo utils.lo prompter.lo hexentry.lo auto_spin.lo
spinner.lo selector.lo textviewer.lo popup_selector.lo popup.lo
choice.lo click_box.lo led.lo pixmap_button.lo version.lo gtk_ui.lo
gtk_ellipsoid.lo generic_motion_feedback.lo motionfeedback.lo gtkrgb.lo
gtkdatabox.lo gtklevelhold.lo gtktransparency.lo gdkutils.lo
gtkmarkedcurve.lo gtkutils.lo gtkpixscrollbar.lo marked_curve.lo
transparency.lo rgb.lo levelhold.lo databox.lo -Wl,--whole-archive
/usr/local/lib/libgmodule.a /usr/local/lib/libgmodule.a
-Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib  -L/usr/local//lib -L/usr/local/lib -L/usr/X11R6/lib
-ldl -lXext -lX11 -lm /usr/local/lib/libgtkmm.so
/usr/local/lib/libgdkmm.so /usr/local/lib/libgtk.so
/usr/local/lib/libgdk.so /usr/local/lib/libgmodule.a
/usr/local/lib/libglib.so -ldl -lXext -lX11 -lm -lpthread
/usr/local/lib/libpbd.so /usr/local/lib/libltdl.so -lpthread
/usr/local/lib/libsigc.so -lpthread  -Wl,-soname
-Wl,libgtkmmext-2-11-1.so -o .libs/libgtkmmext-2-11-1.so
/usr/local/lib/libgmodule.a(gmodule.o): In function
`g_module_supported':
/usr/glib-1.2.10/gmodule/gmodule.c:184: multiple definition of
`g_module_supported'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:184:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function `g_module_open':
/usr/glib-1.2.10/gmodule/gmodule.c:193: multiple definition of
`g_module_open'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:193:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function `g_module_error':
/usr/glib-1.2.10/gmodule/gmodule.c:353: multiple definition of
`g_module_error'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:353:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function `g_module_symbol':
/usr/glib-1.2.10/gmodule/gmodule.c:361: multiple definition of
`g_module_symbol'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:361:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function `g_module_close':
/usr/glib-1.2.10/gmodule/gmodule.c:292: multiple definition of
`g_module_close'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:292:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function
`g_module_make_resident':
/usr/glib-1.2.10/gmodule/gmodule.c:345: multiple definition of
`g_module_make_resident'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:345:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function `g_module_name':
/usr/glib-1.2.10/gmodule/gmodule.c:402: multiple definition of
`g_module_name'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:402:
first defined here
/usr/local/lib/libgmodule.a(gmodule.o): In function
`g_module_build_path':
/usr/glib-1.2.10/gmodule/gmodule.c:414: multiple definition of
`g_module_build_path'
/usr/local/lib/libgmodule.a(gmodule.o):/usr/glib-1.2.10/gmodule/gmodule.c:414:
first defined here
collect2: ld returned 1 exit status
make[2]: *** [libgtkmmext.la] Error 1
make[2]: Leaving directory `/usr/local/ardour/quasimodo/libs/gtkmmext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/ardour/quasimodo/libs/gtkmmext'
make: *** [all-recursive-am] Error 2

-----



-- 
Patrick Shirkey - Manager Boost Hardware.
Importing Korean Computer Products to New Zealand.
Http://www.boosthardware.com - Cool toys to fufill every geeks fantasy.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]