The problem is that in libmysql/mf_iocache.c there is
#define MAP_TO_USE_RAID is defined
I am not sure if I can remove it as I do not know anything about IO
cache. Original intention of RAID code was to split datafiles on server
and there was no use for it to be on client side. This is the reason why
libmysqlclient&friends are never linked to raid code and error message
appeared.
Sasha or Monty, do you know, if/when/why mf_iocache.c in libmysql dir
needs RAID? Why we need this file on client side at all? I can fix it
when I know the answer. Should I just undef it? remove file? include
raid.o ?
On 03 Sep 2001 07:54:57 -0600, Sasha Pachev wrote:
> On Sunday 02 September 2001 09:18, Paul Cadach wrote:
> > Hi,
> >
> > I'm trying to build mysql-4.0 catched from BitKeeper repository (last
> > ChangeSet is 1.768 made by Tonu). I've got a message:
> > c++ -g -O -DSAFE_MUTEX -fno-implicit-templates -fno-exceptions -fno-rtti -rd
> > ynamic -o .libs/mysql mysql.o readline.o sql_string.o
> > completion_hash.o -lreadline -lncurses
> > ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl
> > -lm -Wl,--rpath -Wl,/usr/local/mysql/lib/mysql
> > ../libmysql/.libs/libmysqlclient.so: undefined reference to `my_raid_tell'
> > ../libmysql/.libs/libmysqlclient.so: undefined reference to `my_raid_read'
> > ../libmysql/.libs/libmysqlclient.so: undefined reference to `my_raid_pwrite'
> > ../libmysql/.libs/libmysqlclient.so: undefined reference to `my_raid_write'
> > ../libmysql/.libs/libmysqlclient.so: undefined reference to `my_raid_seek'
> > collect2: ld returned 1 exit status
>
> Tonu will fix it...
>
> --
> MySQL Development Team
> For technical support contracts, visit https://order.mysql.com/
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Sasha Pachev <sasha@stripped>
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
> /_/ /_/\_, /___/\___\_\___/ Provo, Utah, USA
> <___/
--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Tonu Samuel <tonu@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Security Administrator
/_/ /_/\_, /___/\___\_\___/ Hong Kong, China
<___/ www.mysql.com