[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql
Subject:    Re: compile error
From:       Gleb Paharenko <gleb.paharenko () ensita ! net>
Date:       2005-06-04 10:04:47
Message-ID: vua8n2xsre.ln2 () blend ! ensita ! net
[Download RAW message or body]

Hello.

Usually compiling manually is not a good idea, if there are official binary for
your platform available. Ensure that you have the fresh bison.




Mir Islam <mir.islam@gmail.com> wrote:
> I am stumped with this compile problem with 4.0.24 src. Not sure what
> is causing it. Can anyone provide some insights? Last time I compiled
> on the same environment was 4.0.20 source. And all was ok.
>
> gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/ms/svc/mysql/4.0.24\""
> -DDATADIR="\"/ms/data/mysql/4.0.24\""
> -DSHAREDIR="\"/ms/svc/mysql/4.0.24/share/mysql\"" -DHAVE_CONFIG_H -I.
> -I. -I.. -I../innobase/include -I./../include -I./../regex -I.
> -I../include -I.     -O3 -DDBUG_OFF -O3 -felide-constructors
> -fno-exceptions -fno-rtti  -mcpu=v8 -Wa,-xarch=v8plusa  
> -fno-implicit-templates -fno-exceptions -fno-rtti
> -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H
> -I/netapp/home/mislam/devel/database/mysql40/include -DHAVE_RWLOCK_T
> -fno-inline -c sql_yacc.cc
> /usr/local/share/bison.simple: In function `int yyparse()':
> /usr/local/share/bison.simple:347: `YYSIZE_T' undeclared (first use
> this function)
> /usr/local/share/bison.simple:347: (Each undeclared identifier is
> reported only once
> /usr/local/share/bison.simple:347: for each function it appears in.)
> /usr/local/share/bison.simple:347: parse error before `;'
> make[3]: *** [sql_yacc.o] Error 1
> make[3]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/netapp/home/mislam/devel/database/mysql40/sql'
> make: *** [install-recursive] Error 1
>


--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   Gleb.Paharenko@ensita.net
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic