From owner-freebsd-gnome@FreeBSD.ORG  Fri Apr 17 05:59:00 2009
Return-Path: <owner-freebsd-gnome@FreeBSD.ORG>
Delivered-To: gnome@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 80FF21065670
	for <gnome@freebsd.org>; Fri, 17 Apr 2009 05:59:00 +0000 (UTC)
	(envelope-from marcus@marcuscom.com)
Received: from creme-brulee.marcuscom.com
	(marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net
	[IPv6:2001:470:1f00:ffff::1279])
	by mx1.freebsd.org (Postfix) with ESMTP id 1A6BB8FC0C
	for <gnome@freebsd.org>; Fri, 17 Apr 2009 05:59:00 +0000 (UTC)
	(envelope-from marcus@marcuscom.com)
Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com
	[IPv6:2001:470:1f00:2464::4])
	by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id
	n3H5xm9D083487; Fri, 17 Apr 2009 01:59:48 -0400 (EDT)
	(envelope-from marcus@marcuscom.com)
From: Joe Marcus Clarke <marcus@marcuscom.com>
To: Paul Beard <paulbeard@gmail.com>
In-Reply-To: <73410BC2-3951-4053-BF4E-B7963C7A3617@gmail.com>
References: <73410BC2-3951-4053-BF4E-B7963C7A3617@gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature";
	boundary="=-QSEeWg1B06lFbKk76qv7"
Organization: MarcusCom, Inc.
Date: Fri, 17 Apr 2009 01:58:54 -0400
Message-Id: <1239947934.1484.10.camel@shumai.marcuscom.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS
	autolearn=ham version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	creme-brulee.marcuscom.com
Cc: gnome@freebsd.org
Subject: Re: gcalctool, bison, strndup?
X-BeenThere: freebsd-gnome@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: GNOME for FreeBSD -- porting and maintaining
	<freebsd-gnome.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-gnome>,
	<mailto:freebsd-gnome-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-gnome>
List-Post: <mailto:freebsd-gnome@freebsd.org>
List-Help: <mailto:freebsd-gnome-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-gnome>,
	<mailto:freebsd-gnome-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Apr 2009 05:59:00 -0000


--=-QSEeWg1B06lFbKk76qv7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2009-04-14 at 20:45 -0700, Paul Beard wrote:
> gcalctool is failing to build and the symbol it's hanging on might be =20
> something I wouldn't be expected to have.

It looks like you installed bison from a package not meant for your
system.  Try rebuilding it from ports.

Joe

>=20
> bison -d -p ce -d ./ce_parser.y
> ./ce_parser.y: conflicts: 43 shift/reduce
> /libexec/ld-elf.so.1: bison: Undefined symbol "strndup"
> gmake[2]: *** [ce_parser.tab.c] Error 1
> gmake[2]: Leaving directory `/usr/ports/math/gcalctool/work/=20
> gcalctool-5.26.1/gcalctool'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/math/gcalctool/work/=20
> gcalctool-5.26.1'
> gmake: *** [all] Error 2
> *** Error code 1
>=20
> from man strndup:
> HISTORY
>       The strdup() function first appeared in 4.4BSD.  The strndup() =20
> function
>       was added in FreeBSD 8.0.
>=20
>=20
>=20
>=20
> --
> Paul Beard
> contact info: www.paulbeard.org/paulbeard.vcf
>=20
> Are you trying to win an argument or solve a problem?
>=20
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-QSEeWg1B06lFbKk76qv7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAknoGp0ACgkQb2iPiv4Uz4fxyQCdF8A6gV849eU84CZRzg/tA8JA
+J0AnRMCqiMDLEQoycX2u0g6EOW//xZs
=qj+r
-----END PGP SIGNATURE-----

--=-QSEeWg1B06lFbKk76qv7--