Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 14:29:25 -0400
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        Nathan Ahlstrom <nrahlstr@winternet.com>, Libh <freebsd-libh@FreeBSD.ORG>
Subject:   Re: fresh libh fails to build
Message-ID:  <20011019142925.C503@shall.anarcat.dyndns.org>
In-Reply-To: <20011018090436.A983@zerogravity.kawo2.rwth-aachen.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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