Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 20:45:59 -0700
From:      Paul Beard <paulbeard@gmail.com>
To:        gnome@FreeBSD.org
Subject:   gcalctool, bison, strndup? 
Message-ID:  <73410BC2-3951-4053-BF4E-B7963C7A3617@gmail.com>

next in thread | raw e-mail | index | archive | help
gcalctool is failing to build and the symbol it's hanging on might be  
something I wouldn't be expected to have.

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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73410BC2-3951-4053-BF4E-B7963C7A3617>