Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 21:12:31 +0800
From:      Unreal HSHH <hunreal@gmail.com>
To:        FreeBSD-Bugs <freebsd-bugs@freebsd.org>
Subject:   Cannot compile mysql 4.1 in FreeBSD5.3-BETA2
Message-ID:  <9b6b59500409010612672bdbcc@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9b6b59500409010612672bdbcc>