vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| i've seen this problem posted a few places, but i never saw any resolutions. as you can tell, i'm trying to compile (make) mysql and i've run into the following: 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 \ g++ -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 -fn o-rtti -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 `void lex_init()': sql_lex.cc:85: error: `symbols' undeclared (first use this function) sql_lex.cc:85: error: (Each undeclared identifier is reported only once for each function it appears in.) sql_lex.cc:87: error: `sql_functions' undeclared (first use this function) sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)': sql_lex.cc:171: error: `get_hash_symbol' undeclared (first use this function) make[4]: *** [sql_lex.o] Error 1 make[4]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/home/austin/mysql-4.0.17' make: *** [all] Error 2 |
| |||
| "Sameer" <ssnewsgroups@hotmail.com> wrote in message news:PYSdnV9npPs317zdRVn-tA@adelphia.com... > i've seen this problem posted a few places, but i never saw any resolutions. > > as you can tell, i'm trying to compile (make) mysql and i've run into the > following: > > 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 \ > g++ -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 - fn > o-rtti -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 `void lex_init()': > sql_lex.cc:85: error: `symbols' undeclared (first use this function) > sql_lex.cc:85: error: (Each undeclared identifier is reported only once for > each function it appears in.) > sql_lex.cc:87: error: `sql_functions' undeclared (first use this function) > sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)': > sql_lex.cc:171: error: `get_hash_symbol' undeclared (first use this > function) > make[4]: *** [sql_lex.o] Error 1 > make[4]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/home/austin/mysql-4.0.17' > make: *** [all] Error 2 > > i've came across something that addresses lex_hash.h shell> cd sql shell> make gen_lex_hash shell> ./gen_lex_hash > lex_hash.h shell> cd .. shell> make now, i'm getting this error: # ./gen_lex_hash > lex_hash.h ld.so.1: ./gen_lex_hash: fatal: libstdc++.so.5: open failed: No such file or directory Killed |
| |||
| Would not it be easier to use pkg-get tool ? Or you need 4.0.17 ? bash-2.05# pkg-get -a |grep mysql mysql4 4.0.16,REV=2003.11.16 mysql4rt 4.0.16,REV=2003.11.16 pm_dbdmysql 2.9003,REV=2004.01.09 Sameer wrote: > i've seen this problem posted a few places, but i never saw any resolutions. > > as you can tell, i'm trying to compile (make) mysql and i've run into the > following: > > 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 \ > g++ -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 -fn > o-rtti -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 `void lex_init()': > sql_lex.cc:85: error: `symbols' undeclared (first use this function) > sql_lex.cc:85: error: (Each undeclared identifier is reported only once for > each function it appears in.) > sql_lex.cc:87: error: `sql_functions' undeclared (first use this function) > sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)': > sql_lex.cc:171: error: `get_hash_symbol' undeclared (first use this > function) > make[4]: *** [sql_lex.o] Error 1 > make[4]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/home/austin/mysql-4.0.17' > make: *** [all] Error 2 > > |
| |||
| where are you pulling these packages from? sunfreeware has 3.23.x "Yura Pismerov" <ypismerov@tucows.com> wrote in message news:bvruam$kgc$1@yura.org... > > Would not it be easier to use pkg-get tool ? > Or you need 4.0.17 ? > > bash-2.05# pkg-get -a |grep mysql > mysql4 4.0.16,REV=2003.11.16 > mysql4rt 4.0.16,REV=2003.11.16 > pm_dbdmysql 2.9003,REV=2004.01.09 > > Sameer wrote: > > i've seen this problem posted a few places, but i never saw any resolutions. > > > > as you can tell, i'm trying to compile (make) mysql and i've run into the > > following: > > > > 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 \ > > g++ -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 - fn > > o-rtti -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 `void lex_init()': > > sql_lex.cc:85: error: `symbols' undeclared (first use this function) > > sql_lex.cc:85: error: (Each undeclared identifier is reported only once for > > each function it appears in.) > > sql_lex.cc:87: error: `sql_functions' undeclared (first use this function) > > sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)': > > sql_lex.cc:171: error: `get_hash_symbol' undeclared (first use this > > function) > > make[4]: *** [sql_lex.o] Error 1 > > make[4]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/usr/home/austin/mysql-4.0.17/sql' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/home/austin/mysql-4.0.17' > > make: *** [all] Error 2 > > > > > |
| ||||
| Hello, > where are you pulling these packages from? sunfreeware has 3.23.x http://www.blastwave.org/ Thomas |