I finally found the solution :
I had bad old include files in /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/
that come from a old gcc installation.
I removed them and now it's ok.

Pierre.


On 2002.11.13 06:50 Pierre wrote:
Hi,

I try to compile mysql-3.23.53 on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :

[...]
Making all in client
gmake[2]: Entering directory `/tmp/mysql-3.23.53/client'
g++ -s -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -I/usr/local/BerkeleyDB.4.1/include -O3 -DDBUG_OFF -O3 -march=i686 -fno-implicit-templates -fno-exceptions -fno-rtti -c mysql.cc
In file included from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/curses.h:86,
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/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/curses.h:406: non-local function `int add_wch(const NCURSES_EXPORT(char*)::cchar_t*)' uses local type `const NCURSES_EXPORT(char*)::cchar_t'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/curses.h:407: non-local function `int add_wchnstr(const NCURSES_EXPORT(char*)::cchar_t*, int)' uses local type `const NCURSES_EXPORT(char*)::cchar_t'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/curses.h:408: non-local function `int add_wchstr(const NCURSES_EXPORT(char*)::cchar_t*)' uses local type `const NCURSES_EXPORT(char*)::cchar_t'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/curses.h:422: non-local function `void bkgrndset(const NCURSES_EXPORT(char*)::cchar_t*)' uses local type `const NCURSES_EXPORT(char*)::cchar_t'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/curses.h:423: non-local function `int bkgrnd(const NCURSES_EXPORT(char*)::cchar_t*)' uses local type `const NCURSES_EXPORT(char*)::cchar_t'
[...]

I have ncurses-5.3 installed.



It would be great if you could help me with this !

Best regards,

Pierre.

---------------------------------------------------------------------
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

Reply via email to