gcalctool, bison, strndup?
Joe Marcus Clarke
marcus at marcuscom.com
Fri Apr 17 05:59:00 UTC 2009
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
> 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
>
> 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/
> gcalctool-5.26.1/gcalctool'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/math/gcalctool/work/
> gcalctool-5.26.1'
> gmake: *** [all] Error 2
> *** Error code 1
>
> from man strndup:
> HISTORY
> The strdup() function first appeared in 4.4BSD. The strndup()
> function
> was added in FreeBSD 8.0.
>
>
>
>
> --
> Paul Beard
> contact info: www.paulbeard.org/paulbeard.vcf
>
> Are you trying to win an argument or solve a problem?
>
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20090417/3c3d2ab3/attachment.pgp
More information about the freebsd-gnome
mailing list