bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] OS/X check in


From: Michael Petch
Subject: Re: [Bug-gnubg] OS/X check in
Date: Thu, 10 Apr 2008 11:36:45 -0600
User-agent: Microsoft-Entourage/11.4.0.080122

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" <address@hidden> wrote:

> * Achim Mueller <address@hidden> [080410 11:01]:
>> * Michael Petch <address@hidden> [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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]