I just upgraded my workstation from FreeBSD 7.4 to 9.1 and when I attempt to compile the toolkit it's failing with this error.
g++ -DHAVE_CONFIG_H -I. -DENV_PREFIX=COZ -DBUILD_VERSION="1.1.0 2012-03-16" -I/usr/local/include -g -O2 -MT toasa.o -MD -MP -MF .deps/toasa.Tpo -c -o toasa.o toasa.C
toasa.C: In function 'int main(int, char**)':
toasa.C:184: error: 'getline' was not declared in this scope
*** [toasa.o] Error code 1
I was able to successfully compile the toolkit under FreeBSD 7.4
Compile Co:Z Target System Toolkit under FreeBSD 9.1 fails
Re: Compile Co:Z Target System Toolkit under FreeBSD 9.1 fai
it would appear that you have a define for "HAVE_GETLINE" , but your library doesn't have getline().
I see this:
http://www.unix.com/man-page/FreeBSD/3/getline/
perhaps adding -D_WITH_GETLINE will make the library getline() function available?
I see this:
http://www.unix.com/man-page/FreeBSD/3/getline/
perhaps adding -D_WITH_GETLINE will make the library getline() function available?
Re: Compile Co:Z Target System Toolkit under FreeBSD 9.1 fai
Yep. That worked. Thanks again.
Re: Compile Co:Z Target System Toolkit under FreeBSD 9.1 fai
Thanks for confirming this.
We'll add this to our source so that future FreeBSD builds build smoothly.
We'll add this to our source so that future FreeBSD builds build smoothly.