From owner-freebsd-libh Fri Oct 19 11:29:15 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by hub.freebsd.org (Postfix) with ESMTP id 6A07C37B407 for ; Fri, 19 Oct 2001 11:29:10 -0700 (PDT) Received: from khan.anarcat.dyndns.org ([65.94.128.156]) by tomts7-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011019182909.ISVT2701.tomts7-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Fri, 19 Oct 2001 14:29:09 -0400 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id E515A192E; Fri, 19 Oct 2001 14:29:05 -0400 (EDT) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id C77DE20B04; Fri, 19 Oct 2001 14:29:26 -0400 (EDT) Date: Fri, 19 Oct 2001 14:29:25 -0400 From: The Anarcat To: Alexander Langer Cc: Nathan Ahlstrom , Libh Subject: Re: fresh libh fails to build Message-ID: <20011019142925.C503@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Alexander Langer , Nathan Ahlstrom , Libh References: <20011016171855.B479@shall.anarcat.dyndns.org> <20011016225427.A9720@winternet.com> <20011017115124.C721@zerogravity.kawo2.rwth-aachen.de> <20011018010645.E471@shall.anarcat.dyndns.org> <20011018090436.A983@zerogravity.kawo2.rwth-aachen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy" Content-Disposition: inline In-Reply-To: <20011018090436.A983@zerogravity.kawo2.rwth-aachen.de> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --TYecfFk8j8mZq+dy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu Oct 18, 2001 at 09:04:36AM +0200, Alexander Langer wrote: > Thus spake The Anarcat (anarcat@anarcat.dyndns.org): >=20 > > if it helps, this is a sample error message I get when doing a make in > > compile/: > > /usr/local/lib/libhui.a(HuiQt.m.o)(.gnu.linkonce.d._vt$21QPushButtonEnt= erLeave+0xdc): undefined reference to `QWidget::unsetCursor(void)' > > There are thousands of these in my build log (300K!). >=20 > Hmm. Odd, it builds for me. I think I know what the problem was.. When I started my work on libh, I installed the port. Now, I removed it and it seems to compile fine. Probably that it linked to the libh* libs in /usr/local/lib instead of the working directories... And in fact: cc -g -fpic -DPIC -I/usr/local/include/tcl8.3 -I/u/anarcat/libh/compile/none/../../include -static -o tclh.static tclh.o -ltcl83 -L/usr/local/lib -lm -L../../lib/tcl -L../../lib/common -lhtcl -lh -L/u/anarcat/libh/compile/none -L../../lib/file -lhtclfile -lhfile -L../../lib/disk -lhtcldisk -lhdisk -L../../lib/hui -lhtclhui -lhui -L../../lib/sysinstall -lhtclsysinstall -lhsysinstall -L../../lib/database -lhdatabase -lstdc++ -ldisk -lfetch -lz -lcom_err -lm we see that -L/usr/local/lib is the first in the list. I don't know if it has any effect, but probably that it should be pushed at the end so that the building libs are picked up before the ones in /usr/local/lib... I think I'll commit a fix for that now... A. --TYecfFk8j8mZq+dy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjvQcQMACgkQttcWHAnWiGdFdACgiBD6dcPK9aK52uvSWhSh0uax u9cAoKUMeh1c0kiHyZfjn4XixoaEp4zM =5TZb -----END PGP SIGNATURE----- --TYecfFk8j8mZq+dy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message