Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 27 Jul 2002 14:08:16 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: MySQL server under cygwin Message-ID: <20020727180816.GA17200@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00b201c2352f$71e9d4c0$3400a8c0 AT sknet01> <190247813356 DOT 20020727104230 AT familiehaase DOT de> <137257096795 DOT 20020727131713 AT familiehaase DOT de> <20020727160737 DOT GF16216 AT redhat DOT com> <156281280509 DOT 20020727200017 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <156281280509.20020727200017@familiehaase.de> User-Agent: Mutt/1.3.23.1i On Sat, Jul 27, 2002 at 08:00:17PM +0200, Gerrit P. Haase wrote: >make[2]: Entering directory `/sourcecode/db/mysql-4.0.2-alpha/client' >gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -c mysqlbinlog.cc >`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' instead. >sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -o mysqlbinlog mysqlbinlog.o ../libmysql/libmysqlclient.la -Wl,--defsym -Wl,__cxa_pure_virtual=0 -lz -lcrypt -lm >gcc -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -o mysqlbinlog mysqlbinlog.o ../libmysql/.libs/libmysqlclient.a -lz -lcrypt -Wl,--defsym -Wl,__cxa_pure_virtual=0 -lz -lcrypt >mysqlbinlog.o(.data$_ZTV9Log_event+0x8):mysqlbinlog.cc: undefined reference to `___cxa_pure_virtual' >mysqlbinlog.o(.data$_ZTV9Log_event+0x18):mysqlbinlog.cc: undefined reference to `___cxa_pure_virtual' >mysqlbinlog.o(.data$_ZTV9Log_event+0x1c):mysqlbinlog.cc: undefined reference to `___cxa_pure_virtual' >collect2: ld returned 1 exit status >make[2]: *** [mysqlbinlog] Error 1 >make[2]: Leaving directory `/sourcecode/db/mysql-4.0.2-alpha/client' > >BTW, works well when using g++ instead of gcc. God knows why they >think that using gcc instead of g++ is better. Yes, that's the problem. If you use gcc rather than g++ to compile a g++ program then it is more likely to fail in gcc 3.1.1. That's not a bug, though, as you have correctly surmised. Using g++ should work. I'm not aware of any shared/static issues with gcc for windows. Thanks for clarifying this. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/