List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:July 14 1999 9:11pm
Subject:Re: Compile error on Solaris-2.7
View as plain text  
At 1:03 PM -0400 7/14/99, Forrest Aldrich wrote:
>Using Solaris-2.7, egcs (latest cvs), and MySQL-3.22.25:
>
>creating libmysqlclient.la
>(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la 
>libmysqlclient.la)
>c++ -DUNDEF_THREADS_HACK -I./../include -I../include 
>-I./.. -I.. -I..    -O   -fno-implicit-templates -DDBUG_OFF 
>-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c mysql.cc
>In file included from mysql.cc:54:
>/usr/include/term.h:1060: syntax error before `,'
>/usr/include/term.h:1081: syntax error before `;'
>/usr/include/term.h:1082: syntax error before `;'
>/usr/include/term.h:1101: syntax error before `['
>/usr/include/term.h:1108: syntax error before `*'
>/usr/include/term.h:1111: syntax error before `;'
>/usr/include/term.h:1115: syntax error before `;'
>/usr/include/term.h:1116: syntax error before `;'
>/usr/include/term.h:1209: `chtype' was not declared in this scope
>/usr/include/term.h:1209: parse error before `('
>*** Error code 1
>make: Fatal error: Command failed for target `mysql.o'
>Current working directory /local/src/mysql-3.22.25/client
>*** Error code 1
>make: Fatal error: Command failed for target `all-recursive'
>Current working directory /local/src/mysql-3.22.25
>*** Error code 1
>make: Fatal error: Command failed for target `all-recursive-am'
>
>
>Is this a bug, or a local issue?

It's a Solaris problem; the fix is described in chapter 4 of the MySQL
manual under the Solaris notes section for a source installation.

-- 
Paul DuBois, paul@stripped
Thread
Compile error on Solaris-2.7Forrest Aldrich14 Jul
  • Re: Compile error on Solaris-2.7Paul DuBois15 Jul