On Fri, 16 Nov 2001, Kir Kolyshkin wrote:

> > When linking searchd, if I add buddy.cpp to searchd_SOURCES it links fine
> 
> I have added buddy.cpp to searchd_SOURCES in CVS yesterday, to fix linking on
> FreeBSD.

Yes, saw that (after mucking round and adding it myself only to get the dlopen
issue). 


> > g++ -v
> > Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> > gcc version 2.95.4 20011006 (Debian prerelease)
> 
> On FreeBSD (gcc 2.95.3) symptoms are the same. I have just found that
> -export-dynamic flag helps. Can you get the latest CVS and see if it works?
> I have fixed a numerous small miscompilations as well there.

Yes, that seems to fix the issue (haven't tested it much as yet, but it links
and can load the module correctly) :)  You were referring to v_1_2_6 tag right
(not HEAD)? 


Matt.

Reply via email to