Re: Error compiling libgtop
- From: Martin Baulig <martin home-of-linux org>
- To: Martin Baulig <martin home-of-linux org>
- cc: Sampo Niskanen <sampo compart fi>, gnome-list <gnome-list gnome org>
- Subject: Re: Error compiling libgtop
- Date: Fri, 12 Jun 1998 02:21:22 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----
I have now put the real fix of this problem (using gh_append () instead of
gh_append2 ()) into CVS. A patch against the 'libgtop-0.01.tgz' on the ftp
sites is available at my site:
http://www.home-of-linux.org/gnome/libgtop/gh_append2.diff
This should now work with Guile 1.2. If not, then someone needs to tell my
how it has to be done - I'm using 1.3a.
Martin
On Thu, 11 Jun 1998, Martin Baulig wrote:
> To: Sampo Niskanen <sampo@compart.fi>
> Subject: Re: Error compiling libgtop
> From: Martin Baulig <martin@home-of-linux.org>
>
> X-Premail-Auth: Good signature from user "Martin Baulig
> <baulig@sonne.uni-trier.de>".
>
> On Thu, 11 Jun 1998, Sampo Niskanen wrote:
>
> > I have had problems compiling libgtop ver. 0.01 got from
> > ftp://ftp.gnome.org/pub/GNOME/extra-src/. It can't find a funtion named
> > gh_append2. Compiling libgtop-0.01/examples/.libs/third:
> >
> > gcc -Wall -W -g -O2 -D_IN_LIBGTOP -o .libs/third third.o -Wl,-rpath
> > -Wl,/usr/local/lib ../sysdeps/guile/.libs/libgtop_guile.so -Wl,-rpath
> > -Wl,/usr/local/lib ../sysdeps/guile/names/.libs/libgtop_guile_names.so
> > -Wl,-rpath -Wl,/usr/local/lib ../sysdeps/names/.libs/libgtop_names.so
> > -Wl,-rpath -Wl,/usr/local/lib ../sysdeps/common/.libs/libgtop_common.so
> > -Wl,-rpath -Wl,/usr/local/lib ../lib/.libs/libgtop.so -lguile -ldl -lqt
> > -L/usr/local/lib -ltermcap -lreadline ../intl/libintl.a -L/usr/local/lib
> > -lgnomesupport -lm
> > ../sysdeps/guile/.libs/libgtop_guile.so: undefined reference to
> > `gh_append2'
> > collect2: ld returned 1 exit status
> >
>
> Seems you have an older version of guile installed which does not define
> gh_append2(). Here's some ugly hack:
>
> =============================================================================
> --- libgtop/glibtop.h Tue May 19 20:19:48 1998
> +++ libgtop.new/glibtop.h Thu Jun 11 22:10:11 1998
> @@ -51,6 +51,8 @@
>
> #ifdef HAVE_GUILE
>
> +#define gh_append2(a,b) gh_append(a,b,SCM_UNDEFINED)
> +
> /* You need to link with -lgtop_guile to get this stuff here. */
>
> extern void glibtop_boot_guile __P((void));
> =============================================================================
>
> Which version of guile do you have? I tested it with 1.3a (from May 4 it
> think) but it should also work with 1.2.
>
> The above patch is only an ugly hack and will case an error with recent
> versions of guile.
>
> If you _have_ guile 1.2 or newer, please tell me and I'll make a real
> fix for this problem to the current CVS version.
>
> Martin
>
>
> -----------------------------------------------------------------
> Martin Baulig - Angewandte Mathematik - Universitaet Trier
>
> baulig@castor.uni-trier.de, http://www.home-of-linux.org/
> Key: 1024-bit key with ID C8178435 created 1997/01/24
> ID: 67 C1 84 A0 47 F5 11 C5 5F 68 4C 84 99 05 C3 92
> Finger me for public key or fetch finger.txt from the url above
> ------------------------------------------------------------------
>
>
- -----------------------------------------------------------------
Martin Baulig - Angewandte Mathematik - Universitaet Trier
baulig@castor.uni-trier.de, http://www.home-of-linux.org/
Key: 1024-bit key with ID C8178435 created 1997/01/24
ID: 67 C1 84 A0 47 F5 11 C5 5F 68 4C 84 99 05 C3 92
Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBNYB0g4A8K7jIF4Q1AQGxgQQAtwZvHl/rVCvgYRXYvx0QFTh1cJkrtb3b
5T14OE7U2TxevkPYQ/VatRFcJljzPd/ttd1OhB7i2NFpcPYgJQLEzV2RhaTZB8Zb
PDkMPVR2/CmqAYuMnq+y5sR9rmeJOnSq1wOHHFL1rLUgsYDNfAJV0BFBzqOfxh20
NduhEv1UX/8=
=Ldbo
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]