Re: trouble compiling ORBit
- From: Michael Meeks <michael ximian com>
- To: Darin Adler <darin bentspoon com>
- Cc: orbit <orbit-list gnome org>
- Subject: Re: trouble compiling ORBit
- Date: 12 Feb 2002 11:17:10 +0000
Hi Darin,
On Sun, 2002-02-10 at 04:16, Darin Adler wrote:
> Here's the error I get trying to link "client" in test/everything:
>
> /gnome/GNOME2/lib/liblinc.a(linc.o): In function `linc_init':
> /gnome-source/GNOME2/linc/src/linc.c:54: undefined reference to `g_thread_init'
> /gnome/GNOME2/lib/liblinc.a(linc-source.o): In function `linc_io_add_watch':
> /gnome-source/GNOME2/linc/src/linc-source.c:160: undefined reference to `g_io_channel_unix_get_fd'
>
> Any ideas what's wrong?
It looks like some extreme oddness in the build environment. We use
ORBIT_LIBS to link test/everything which is generated from:
PKG_CHECK_MODULES(ORBIT, \
linc >= $LINC_REQUIRED \
glib-2.0 >= $GLIB_REQUIRED \
gobject-2.0 >= $GLIB_REQUIRED \
gmodule-2.0 >= $GLIB_REQUIRED)
AC_SUBST(ORBIT_LIBS)
linc.pc.in requires gthread etc. so ...
Is it possible that you built linc a long time ago without using
--disable-static, and thus you have a stale liblinc.a lying around that
test/everything tries to link against erroneously ?
Regards,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]