List:General Discussion« Previous MessageNext Message »
From:Roberto Slepetys Ferreira Date:May 21 2003 2:35pm
Subject:Re: How to select the dictionary list of a FTS table - now we have a compilation problem
View as plain text  
Hi Dan,

I follow your sugestion, but when I try to compile it in the Red Hat
distribuction, it stills give me the same error:

-----------------------

/bin/sh ../libtool --mode=link
gcc  -O3 -DDBUG_OFF -O2 -g -pipe -march=i386 -mcpu=i686   -rdynamic  -o
ft_dump  ft_dump.o libmyisam.a
../mysys/libmysys.a ../dbug/libdbug.a
../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm  -lpthread
mkdir .libs
gcc -O3 -DDBUG_OFF -O2 -g -pipe -march=i386 -mcpu=i686 -rdynamic -o ft_dump
ft_dump.o  libmyisam.a ../mysys/libmysys.a ../dbug/libdbug
.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
../mysys/libmysys.a(raid.o)(.text+0x95): In function `my_raid_create':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:119: undefined reference to
`operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x11f):/usr/src/redhat/BUILD/mysql-4.0.13/
mysys/raid.cc:130: undefined reference to `operator delete
(void*)'
../mysys/libmysys.a(raid.o)(.text+0x175): In function `my_raid_open':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:141: undefined reference to
`operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x1fc):/usr/src/redhat/BUILD/mysql-4.0.13/
mysys/raid.cc:152: undefined reference to `operator delete
(void*)'
../mysys/libmysys.a(raid.o)(.text+0x715): In function `my_raid_close':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:277: undefined reference to
`operator delete(void*)'
collect2: ld returned 1 exit status
make: *** [ft_dump] Error 1
-----------------------

I am using the 4.0.13 src, and 3.2.2-5 gcc.

The errors are the same as I try to rebuild the rpm source.

Thanks
Slepetys




> In the last episode (May 20), Roberto Slepetys Ferreira said:
> > > > 1st) I like to acess the Dictionary Table directly, to retrieve
> > > > all the world that was indexed. This will be used to construct
> > > > the front end, allowing the user only to make a search based on
> > > > world that really exists in the dictionary table.
> > >
> > > If you build from source, there's a debugging program called
> > > ft_dump that gets built in the myisam/ directory.  It can dump the
> > > wordlist, plus per-word stats if you want them.
> >
> > Unhapply, all of my tentatives for building it from the source failed
> > in the Red Hat 9.
> >
> > Last tentative, I downloades the 4.0.13.src.rpm and did a rebuild
> > rpm, receiving some errors, but the ft_dump.c was found in the
> > building directory. Is it possible to compile only this program ?
>
> Try cd'ing into the myisam directory and running "make ft_dump".  The
> srpm build should have done this already, though.
>


Thread
How to select the dictionary list of a FTS tableRoberto Slepetys Ferreira20 May
  • Re: How to select the dictionary list of a FTS tableDan Nelson20 May
  • Re: How to select the dictionary list of a FTS tableRoberto Slepetys Ferreira21 May
    • Re: How to select the dictionary list of a FTS tableDan Nelson21 May
  • Re: How to select the dictionary list of a FTS table - now we have a compilation problemRoberto Slepetys Ferreira21 May
    • Re: How to select the dictionary list of a FTS table - now we have a compilation problemDan Nelson21 May