From: Michael Widenius Date: March 14 1999 3:06pm Subject: mysql v3.22.19b compilation problems under linux List-Archive: http://lists.mysql.com/mysql/230 Message-Id: <14059.52071.973214.329677@monty.pp.sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> "Stephen" == Stephen Costaras writes: Stephen> Hello- Stephen> I've just tried to compile MySQL v3.22.19b under linux (kernel v2.2.3, Stephen> egcs v1.1.1, glibc v2.1). Stephen> Attached is the output of the make where it dies w/ invalid exception specifications. Stephen> I have no problems compiling other software under the above system. If Stephen> I can provide any other information please let me know. Stephen> I am not on this mailing-list so please CC me on all replies. Stephen> Steve Costaras, Stephen> stevecs@stripped Stephen> ----------------- Stephen> Making all in client Stephen> make[2]: Entering directory `/usr/src/mysql-3.22.19b/client' Stephen> c++ -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O -fno-implicit-templates -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c mysql.cc Stephen> In file included from /usr/include/stdio.h:57, Stephen> from ../include/global.h:79, Stephen> from mysql.cc:14: Stephen> /usr/include/g++/libio.h:270: invalid exception specifications Stephen> /usr/include/g++/libio.h:271: invalid exception specifications Stephen> /usr/include/g++/libio.h:272: invalid exception specifications Stephen> /usr/include/g++/libio.h:273: invalid exception specifications Stephen> make[2]: *** [mysql.o] Error 1 Stephen> make[2]: Leaving directory `/usr/src/mysql-3.22.19b/client' Stephen> make[1]: *** [all-recursive] Error 1 Stephen> make[1]: Leaving directory `/usr/src/mysql-3.22.19b' Stephen> make: *** [all-recursive-am] Error 2 Stephen> ------------------------ Hi! The above is an error in your g++ setup and should be reported to www.cygnus.com You can however probably compile MySQL if you configure MySQL as follows: CXX=gcc ./configure This will not use the libio.h file. Regards, Monty