It looks like you hit some C++ code on the first line. There are still major problems in using gcc 3.x for compiling C++ on Linux. On my own box, I had to downgrade to gcc 2.9.6. MySQL compiles flawlessly now.
On Thu, 2002-03-14 at 01:19, MWP wrote: > Hi all... > > I get: > c++-303 -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O3 >-DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -c mysql.cc > In file included from >/usr/local/gcc-3.0.3/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/include/curses.h:80, > from mysql.cc:48: > /usr/include/unctrl.h: In function `int NCURSES_EXPORT(char*)': > /usr/include/unctrl.h:57: parse error before `(' token > In file included from mysql.cc:48: > /usr/local/gcc-3.0.3/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/include/curses.h:396: > non-local function `int add_wch(const int NCURSES_EXPORT(char*)::cchar_t*)' uses >local type `const int NCURSES_EXPORT(char*)::cchar_t' > .... quite a lot of repeats of the last 3 lines then: > mysql.cc:144: cannot declare static function inside another function > mysql.cc:145: cannot declare static function inside another function > mysql.cc:146: cannot declare static function inside another function > mysql.cc:146: cannot declare static function inside another function > mysql.cc:147: cannot declare static function inside another function > mysql.cc:148: cannot declare static function inside another function > mysql.cc:148: cannot declare static function inside another function > mysql.cc:149: cannot declare static function inside another function > mysql.cc:149: cannot declare static function inside another function > .... with about another 15 of those from teh same file. > > Any ideas on what could cause this? > > ** Can you please reply to my email addr... im not on the mailing list ** > > Thanks, > MWP > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php