Skip site navigation (1)Skip section navigation (2)
Date:      11 Mar 2000 14:15:17 -0800
From:      asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        jseger@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: libgtop build failure
Message-ID:  <vqcbt4lgnm2.fsf@silvia.hip.berkeley.edu>
In-Reply-To: asami@FreeBSD.org's message of "11 Mar 2000 13:41:01 -0800"
References:  <200003112046.MAA83267@silvia.hip.berkeley.edu> <20000311150925.Q84331@supernews.com> <20000311152854.R84331@lovett.com> <vqcem9hgp76.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)

 * By the way, this is what your test program said, when compiled with
 * guile with thread support.
 * 
 * ## cc -I/usr/local/include/ -I/usr/X11R6/include/ testguile.c 
 * /tmp/ccl16377.o: In function `main':
 * /tmp/ccl16377.o(.text+0xf): undefined reference to `gh_eval_str'
 * /tmp/ccl16377.o(.text+0x1f): undefined reference to `scm_boot_guile'

Which is of course because it's missing the guile library. ;)
(Trying to do to many things at once, sorry.)

This is what it says with -lguile:

===
## cc -I/usr/local/include/ -I/usr/X11R6/include/ testguile.c -L/usr/local/lib -lguile
/usr/local/lib/libguile.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/local/lib/libguile.so: undefined reference to `qt_abort'
/usr/local/lib/libguile.so: undefined reference to `qt_error'
/usr/local/lib/libguile.so: undefined reference to `qt_block'
===

Looking around in /usr/local/lib, I found the library I need:

===
## cc -I/usr/local/include/ -I/usr/X11R6/include/ testguile.c -L/usr/local/lib -lguile -L /usr/X11R6/lib -lqthreads
/usr/local/lib/libguile.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
===

So, I guess the problem is not listing libqthreads in pkg/PLIST.  I've
added it and re-enabled it in Makefile, we'll see how it goes.
(Crossing fingers.)

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcbt4lgnm2.fsf>