From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 13:12:35 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D1B816A4CE for ; Wed, 1 Sep 2004 13:12:35 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEB3543D49 for ; Wed, 1 Sep 2004 13:12:34 +0000 (GMT) (envelope-from hunreal@gmail.com) Received: by mproxy.gmail.com with SMTP id 75so214644rnl for ; Wed, 01 Sep 2004 06:12:31 -0700 (PDT) Received: by 10.38.1.79 with SMTP id 79mr1968376rna; Wed, 01 Sep 2004 06:12:31 -0700 (PDT) Received: by 10.38.181.20 with HTTP; Wed, 1 Sep 2004 06:12:31 -0700 (PDT) Message-ID: <9b6b59500409010612672bdbcc@mail.gmail.com> Date: Wed, 1 Sep 2004 21:12:31 +0800 From: Unreal HSHH To: FreeBSD-Bugs Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Cannot compile mysql 4.1 in FreeBSD5.3-BETA2 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Unreal HSHH List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 13:12:35 -0000 5.2.1 work,but not work in 5.3-BETA2 Compile 4.1.4, gcc -O3 -DDBUG_OFF -pipe -march=pentium4 -fno-omit-frame-pointer -O3 -D_THREAD_SAFE -o myisamchk myisamchk.o -static -D_THREAD_SAFE -D_THREAD_SAFE libmyisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lkse -lcrypt -lm -lkse /usr/lib/libc.a(isnan.o)(.text+0x5e): In function `__isnanl': : multiple definition of `__isnanl' /usr/lib/libm.a(s_isnan.o)(.text+0x27): first defined here *** Error code 1 Stop in /usr/home/hshh/src/mysql-4.1.4-gamma/myisam. *** Error code 1 Compile 4.1.3 if g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -O3 -DDBUG_OFF -pipe -march=pentium4 -fno-omit-frame-pointer -O3 -felide-constructors -fno-rtti -fno-exceptions -D_THREAD_SAFE -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o `test -f 'mysql.cc' || echo './'`mysql.cc; then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi mysql.cc:307: error: expected constructor, destructor, or type conversion before '*' token mysql.cc:307: error: expected `,' or `;' before '*' token mysql.cc: In function `int not_in_history(const char*)': mysql.cc:1269: error: `HIST_ENTRY' undeclared (first use this function) mysql.cc:1269: error: (Each undeclared identifier is reported only once for each function it appears in.) mysql.cc:1269: error: `oldhist' undeclared (first use this function) mysql.cc:1269: error: `history_get' undeclared (first use this function) *** Error code 1 Stop in /usr/home/hshh/src/mysql-4.1.3-beta/client. *** Error code 1