Re: probable compile problem on gnome build


Subject: Re: probable compile problem on gnome build
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Sun Apr 16 2000 - 16:47:41 CDT


You appear to have your X libraries and/or gnome installed incorrectly.
Since the dynamic build appears to build fine (which is the one you'll
want to use), don't worry about it.

Why does abibuild compile static versions by default? I don't think it
would be useful to many people and it can be confusing and annoying in
some situations.

On Sun, 16 Apr 2000, Rui Silva - Webmaster wrote:

> Hi there,
>
>
> it looks like there's a problem with the gnome build.
>
> gtk builds ok, but gnome build results (in the end, when it tries to build AbiWord_s) in error.
>
> some packages I have instaslled:
>
> gtk+10-1.0.6-6
> gtk+-1.2.7-0_helix_6
> gtk+-devel-1.2.7-0_helix_6
> glib10-1.0.6-6
> glib-1.2.7-0_helix_2
> glib-devel-1.2.7-0_helix_2
> gnome-libs-1.0.57-1
> gnome-libs-devel-1.0.57-1
>
> I am on an i386 RedHat 6.1 machine running linux-2.3.99pre3 (notice that I have already compiled a gnome build with this kernel, so the fault should not be in there).
>
> now follows the error:
>
> Linking dynamic /home/rms/cvs/abiword/abi/src/Linux_2.3.99-pre3_i386_OBJ/bin/AbiWord_d
> g++ -o /home/rms/cvs/abiword/abi/src/Linux_2.3.99-pre3_i386_OBJ/bin/AbiWord_d -O2 -Wall -ansi -pedantic -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE -D__USE_XOPEN_EXTENDED -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include -DABIWORD_APP_NAME="\"AbiWord Personal\"" -DABIWORD_APP_LIBDIR="\"AbiWord\"" -DNDEBUG -I/home/rms/cvs/abiword/abi/src/config -I/home/rms/cvs/abiword/abi/src/af/xap/xp -I/home/rms/cvs/abiword/abi/src/af/xap/unix -I/home/rms/cvs/abiword/abi/src/af/ev/xp -I/home/rms/cvs/abiword/abi/src/af/ev/unix -I/home/rms/cvs/abiword/abi/src/af/util/xp -I/home/rms/cvs/abiword/abi/src/af/util/unix -I/home/rms/cvs/abiword/abi/src/af/gr/xp -I/home/rms/cvs/abiword/abi/src/af/gr/unix -I/home/rms/cvs/abiword/abi/src/af/xap/unix/gnome -I/home/rms/cvs/abiword/abi/src/af/ev/unix/gnome -I/home/rms/cvs/abiword/abi/src/../../expat/xmlparse -I/home/rms/cvs/abiword/abi/src/../../expat/xmltok -I/home/rms/cvs/abiword/abi/src/wp/ap/xp -I/home/rms/cvs/abiword/abi/src/wp/ap/unix -I/home/rms/cvs/abiword/abi/src/text/fmt/xp -I/home/rms/cvs/abiword/abi/src/wp/impexp/xp -I/home/rms/cvs/abiword/abi/src/text/ptbl/xp -I/home/rms/cvs/abiword/abi/src/wp/ap/xp/ToolbarIcons -I/home/rms/cvs/abiword/abi/src/wp/ap/unix/gnome -I/home/rms/cvs/abiword/abi/src/other/spell -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include -DHAVE_GNOME /home/rms/cvs/abiword/abi/src/Linux_2.3.99-pre3_i386_OBJ/obj/UnixGnomeMain.o -ldl -L/usr/local/lib -L/home/rms/cvs/abiword/abi/src/Linux_2.3.99-pre3_i386_OBJ/obj -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -lAbi_libwv -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -lAbi_libwv -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -lAbi_libwv -lpng -lz -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb -lglib -ldl
> Linking static /home/rms/cvs/abiword/abi/src/Linux_2.3.99-pre3_i386_OBJ/bin/AbiWord_s
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_device_new':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:276: undefined reference to `XOpenDevice'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_common_select_events':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:423: undefined reference to `XSelectExtensionEvent'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_common_init':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:454: undefined reference to `XListInputDevices'
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:463: undefined reference to `XFreeDeviceList'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_common_motion_events':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:799: undefined reference to `XGetDeviceMotionEvents'
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:817: undefined reference to `XFreeDeviceMotionEvents'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_common_get_pointer':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:865: undefined reference to `XQueryDeviceState'
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputcommon.h:893: undefined reference to `XFreeDeviceState'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_check_proximity':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputxfree.h:138: undefined reference to `XQueryDeviceState'
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputxfree.h:158: undefined reference to `XFreeDeviceState'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_xfree_grab_pointer':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputxfree.h:310: undefined reference to `XGrabDevice'
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputxfree.h:332: undefined reference to `XUngrabDevice'
> /usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_xfree_ungrab_pointer':
> /home/jacob/cvs/helixcode.com/build-system/build/BUILD/gtk+-1.2.7/gdk/gdkinputxfree.h:369: undefined reference to `XUngrabDevice'
> collect2: ld returned 1 exit status
> make[4]: *** [/home/rms/cvs/abiword/abi/src/Linux_2.3.99-pre3_i386_OBJ/bin/AbiWord_s] Error 1
> make[4]: Leaving directory `/home/rms/cvs/abiword/abi/src/wp/main/unix/gnome'
> make[3]: *** [build] Error 2
> make[3]: Leaving directory `/home/rms/cvs/abiword/abi/src/wp/main'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/home/rms/cvs/abiword/abi/src/wp'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/rms/cvs/abiword/abi/src'
> make: *** [compile] Error 2
>
>
> --
> + No matter how much you do, you never do enough -- unknown
> + Whatever you do will be insignificant,
> | but it is very important that you do it -- Ghandi
> + So let's do it...?
>



This archive was generated by hypermail 2b25 : Sun Apr 16 2000 - 16:48:16 CDT