Hi,

I am struggling to compile version 4.0.13 under Solaris-9 using GCC version 3.2.3 :

according to "http://www.mysql.com/documentation/mysql/bychapter/manual_Installing.html";, I have set the following variables BEFORE running configure:

CFLAGS="-O3"
CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"

then I did run configure with the following options:

./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static

finally start the compilation :

make

where all goes well, till the point where he tries to locate a definition of the function "get_hash_symbol()" in file sql_lex.cc" :

...
Making all in share
source='sql_lex.cc' object='sql_lex.o' libtool=no \
depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -c -o sql_lex.o `test -f sql_lex.cc || echo './'`sql_lex.cc
sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)':
sql_lex.cc:172: `get_hash_symbol' undeclared (first use this function)
sql_lex.cc:172: (Each undeclared identifier is reported only once for each
function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `sql_lex.o'
Current working directory /tmp/mysql-4.0.13/sql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp/mysql-4.0.13/sql
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/mysql-4.0.13/sql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp/mysql-4.0.13
*** Error code 1
make: Fatal error: Command failed for target `all'



Anyone can help ?


TIA

Rob


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to