[gtkmm] gtkmm compile error
- From: Peter Gasper <pgasper designadvantage com>
- To: gtkmm-main <gtkmm-list gnome org>
- Subject: [gtkmm] gtkmm compile error
- Date: 20 Jun 2003 09:54:51 -0600
If anyone can help me please do so as soon as possible! If I cannot get
gtkmm working today we will unfortunately be using qt/e instead. thanks.
I am getting the following compile error in the make stage of the
install for gtkmm. It was configured with:
"./configure --prefix=/opt/target/"
Environmental variables are:
PKG_CONFIG_PATH=/opt/target/lib/pkgconfig
I am trying to compile it against the framebuffer version of gtk+ and
its dependencies which was installed into /opt/target. It should work in
the end because I have already successfully compiled and ran gtkmm
programs where I compiled them against the gtkFB in /opt/target. But I
am trying to recompile gtkmm against this gtkFB because gtkmm still had
some dependencies on X11 (which I don't want). (it was originally
compiled against the regular gtk+)
make output:
[root WORKGROUP gtkmm-2.2.3]# make
make all-recursive
make[1]: Entering directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3'
Making all in tools
make[2]: Entering directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools'
Making all in m4
make[3]: Entering directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/m4'
Making all in pm
make[3]: Entering directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/pm'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/pm'
Making all in extra_defs_gen
make[3]: Entering directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/extra_defs_gen'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../glib -I../../gdk -I../../gtk
-I/opt/target/lib/sigc++-1.2/include -I/opt/target/include/sigc++-1.2
-I/opt/target//include/gtk-2.0 -I/opt/target//lib/gtk-2.0/include
-I/opt/target//include/atk-1.0 -I/opt/target//include/pango-1.0
-I/usr/include/freetype2 -I/opt/target//include/glib-2.0
-I/opt/target//lib/glib-2.0/include -g -O2 -Wall -MT
generate_extra_defs.lo -MD -MP -MF ".deps/generate_extra_defs.Tpo" \
-c -o generate_extra_defs.lo `test -f 'generate_extra_defs.cc' || echo
'./'`generate_extra_defs.cc; \
then mv ".deps/generate_extra_defs.Tpo" ".deps/generate_extra_defs.Plo";
\
else rm -f ".deps/generate_extra_defs.Tpo"; exit 1; \
fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I../../gdk
-I../../gtk -I/opt/target/lib/sigc++-1.2/include
-I/opt/target/include/sigc++-1.2 -I/opt/target//include/gtk-2.0
-I/opt/target//lib/gtk-2.0/include -I/opt/target//include/atk-1.0
-I/opt/target//include/pango-1.0 -I/usr/include/freetype2
-I/opt/target//include/glib-2.0 -I/opt/target//lib/glib-2.0/include -g
-O2 -Wall -MT generate_extra_defs.lo -MD -MP -MF
.deps/generate_extra_defs.Tpo -c generate_extra_defs.cc -fPIC -DPIC -o
.libs/generate_extra_defs.o
/bin/sh ../../libtool --mode=link g++ -g -O2 -Wall -o
libgtkmm_generate_extra_defs-2.0.la -rpath /opt/target//lib
-version-info 6:2:5 generate_extra_defs.lo -Wl,--export-dynamic
-L/opt/target/lib -L/opt/target//lib -lsigc-1.2 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -Wl,--export-dynamic -L/opt/target/lib
-L/opt/target//lib -lsigc-1.2 -lgtk-linux-fb-2.0 -lgdk-linux-fb-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
g++ -shared -nostdlib
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../crti.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/crtbeginS.o
.libs/generate_extra_defs.o -Wl,--rpath -Wl,/opt/target/lib -Wl,--rpath
-Wl,/opt/target//lib -Wl,--rpath -Wl,/opt/target/lib -Wl,--rpath
-Wl,/opt/target//lib -L/usr/lib -L/opt/target/lib -L/opt/target//lib
/opt/target/lib/libsigc-1.2.so /opt/target//lib/libgtk-linux-fb-2.0.so
/opt/target//lib/libgdk-linux-fb-2.0.so /opt/target//lib/libatk-1.0.so
/opt/target//lib/libgdk_pixbuf-2.0.so
/opt/target//lib/libpangoft2-1.0.so /opt/target//lib/libpango-1.0.so
/opt/target//lib/libgobject-2.0.so /opt/target//lib/libgmodule-2.0.so
-ldl /opt/target//lib/libglib-2.0.so
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../.. -lstdc++ -lm
-lc -lgcc_s /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/crtendS.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../crtn.o
-Wl,--export-dynamic -Wl,--export-dynamic -Wl,-soname
-Wl,libgtkmm_generate_extra_defs-2.0.so.1 -o
.libs/libgtkmm_generate_extra_defs-2.0.so.1.5.2
(cd .libs && rm -f libgtkmm_generate_extra_defs-2.0.so.1 && ln -s
libgtkmm_generate_extra_defs-2.0.so.1.5.2
libgtkmm_generate_extra_defs-2.0.so.1)
(cd .libs && rm -f libgtkmm_generate_extra_defs-2.0.so && ln -s
libgtkmm_generate_extra_defs-2.0.so.1.5.2
libgtkmm_generate_extra_defs-2.0.so)
creating libgtkmm_generate_extra_defs-2.0.la
(cd .libs && rm -f libgtkmm_generate_extra_defs-2.0.la && ln -s
../libgtkmm_generate_extra_defs-2.0.la
libgtkmm_generate_extra_defs-2.0.la)
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I../../gdk
-I../../gtk -I/opt/target/lib/sigc++-1.2/include
-I/opt/target/include/sigc++-1.2 -I/opt/target//include/gtk-2.0
-I/opt/target//lib/gtk-2.0/include -I/opt/target//include/atk-1.0
-I/opt/target//include/pango-1.0 -I/usr/include/freetype2
-I/opt/target//include/glib-2.0 -I/opt/target//lib/glib-2.0/include
-g -O2 -Wall -MT generate_defs_gtk.o -MD -MP -MF
".deps/generate_defs_gtk.Tpo" \
-c -o generate_defs_gtk.o `test -f 'generate_defs_gtk.cc' || echo
'./'`generate_defs_gtk.cc; \
then mv ".deps/generate_defs_gtk.Tpo" ".deps/generate_defs_gtk.Po"; \
else rm -f ".deps/generate_defs_gtk.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --mode=link g++ -g -O2 -Wall -o
generate_extra_defs generate_defs_gtk.o
libgtkmm_generate_extra_defs-2.0.la -Wl,--export-dynamic
-L/opt/target/lib -L/opt/target//lib -lsigc-1.2 -lgtk-linux-fb-2.0
-lgdk-linux-fb-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
g++ -g -O2 -Wall -o .libs/generate_extra_defs generate_defs_gtk.o
-Wl,--export-dynamic ./.libs/libgtkmm_generate_extra_defs-2.0.so
-L/opt/target/lib -L/opt/target//lib /opt/target/lib/libsigc-1.2.so
/opt/target//lib/libgtk-linux-fb-2.0.so
/opt/target//lib/libgdk-linux-fb-2.0.so /opt/target//lib/libatk-1.0.so
/opt/target//lib/libgdk_pixbuf-2.0.so -lm
/opt/target//lib/libpangoft2-1.0.so /opt/target//lib/libpango-1.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libglib-2.0.so /opt/target//lib/libgobject-2.0.so
/opt/target//lib/libgmodule-2.0.so -ldl /opt/target//lib/libglib-2.0.so
-Wl,--rpath -Wl,/opt/target//lib -Wl,--rpath -Wl,/opt/target/lib
generate_defs_gtk.o(.text+0x4f8): In function `main':
/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/extra_defs_gen/generate_defs_gtk.cc:49: undefined reference to `gtk_socket_get_type'
generate_defs_gtk.o(.text+0x61e):/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/extra_defs_gen/generate_defs_gtk.cc:49: undefined reference to `gtk_plug_get_type'
collect2: ld returned 1 exit status
make[3]: *** [generate_extra_defs] Error 1
make[3]: Leaving directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/pgasper/files/gtk+/gtkmmtargetinstall/gtkmm-2.2.3'
make: *** [all] Error 2
--
Peter Gasper <pgasper designadvantage com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]