Achim,  I have a feeling I know what's happening. My hunch is that the
Quicktime framework for Intel (not PPC) includes mm_malloc.h somewhere
(Probably uses MMX for sound processing) which ends up colliding with the
mm_malloc defined in gnubg's lib directory.

I believe it might be considered a GnuBG bug that lib/mm_malloc.h does not
define its functions statically (The system version of mm_malloc.h on my
redhat linux system use the static keyword, to probably avoid this
situation).

All that being said, the fix is to pull my new copy of lib/mm_malloc.h out
of Gnubg's CVS repository (Which has been amended to make the functions
static) OR you can replace you mm_malloc.h with the one attached to this
email.


On 4/10/08 7:05 AM, "Achim Mueller" <[EMAIL PROTECTED]> wrote:

> * Achim Mueller <[EMAIL PROTECTED]> [080410 11:01]:
>> * Michael Petch <[EMAIL PROTECTED]> [080410 02:00]:
>> 
>> I'll try it today (with you patches). Thanks for the cookbook.
> 
> When using your gnubg.c and sound.c I get the following error:
> 
> ld: duplicate symbol __mmalloc in
> lib/.libs/libevent.a(libneuralnetsse_la-neuralnetsse.o) and sound.o
>

Attachment: mm_malloc.h
Description: Binary data

_______________________________________________
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to