Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2009 01:58:54 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Paul Beard <paulbeard@gmail.com>
Cc:        gnome@freebsd.org
Subject:   Re: gcalctool, bison, strndup?
Message-ID:  <1239947934.1484.10.camel@shumai.marcuscom.com>
In-Reply-To: <73410BC2-3951-4053-BF4E-B7963C7A3617@gmail.com>
References:  <73410BC2-3951-4053-BF4E-B7963C7A3617@gmail.com>

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

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




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