List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 19 1999 10:09am
Subject:error in mysql.cc .. please help
View as plain text  
>>>>> "Henti" == Henti Smith <bain@stripped> writes:

Henti> hi all 
Henti> I'm busy compiling 3.22 on a jurix box for a friend ( libc5 based ) and I get
> this error message .. 

Henti> I have not been able to find any documentation covering this ... 

Henti> can someboyd please give me a hand .. 

Henti> thanks .. 

Henti> here follows the output :

Henti> In file included from mysql.cc:34:
Henti> /usr/include/curses.h:96: abstract declarator used as declaration
Henti> make[2]: *** [mysql.o] Error 1
Henti> make[2]: Leaving directory
> `/local/home/bain/source/mysql/mysql-3.22.26a/client'
Henti> make[1]: *** [all-recursive] Error 1
Henti> make[1]: Leaving directory `/local/home/bain/source/mysql/mysql-3.22.26a'
Henti> make: *** [all-recursive-am] Error 2

Hi!

It looks like your curses.h file is not up to date for C++.  Install a 
later curses.h library or edit the file to make it C++ safe!

(You probably have a 'typedef bool' in the file, which is not allowed
in C++.  Replacing bool with 'curses_bool' in the file should fix this)

Regards,
Monty
Thread
error in mysql.cc .. please helpHenti Smith17 Sep
  • error in mysql.cc .. please helpMichael Widenius19 Sep