On Aug 11, 2007, at 11:40 AM, Jeffrey C. Ollie wrote:

> On Sat, 2007-08-11 at 09:39 -0500, Darin Franklin wrote:
>>
>> The first problem was this error:
>>
>>    /usr/bin/ld: Undefined symbols:
>>    _saturate
>>
>> The saturate function is defined in spandsp.h as "static __inline__",
>> but spandsp.h was never included in the apps/nconference code.  The
>> _saturate symbol is not in /usr/local/lib/libspandsp.dylib because
>> gcc inlined it everywhere.  I fixed this by including spandsp.h in
>> apps/nconference/common.h.
>
> It shouldn't be necessary to include spandsp.h in common.h, only in
> frame.c since that's where the saturate() function is used.  I'm not
> sure why the include of spandsp/dc_restore.h in frame.c isn't enough.
>
> Should be fixed in 3511.
>

The problem is in apps/nconference/frame.c, revision 3288, not in  
corelib/frame.c.  It is sufficient to include spandsp.h in apps/ 
nconference/frame.c.



_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to