Build Error Mac OSX in pjmedia/wav_writer.c in function 'flush_buffer' : 'BYTES_PER_SAMPLE' undeclared

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

 



On Wed, Oct 1, 2008 at 2:09 AM, Craig Lewiston <craiglewiston at gmail.com>wrote:

> Hi,
>
> I'm trying to build PJSIP on Mac OS X 10.4.11 (PowerPC), and got the
> following error during 'make':
>
> ../src/pjmedia/wav_writer.c: In function 'flush_buffer':
> ../src/pjmedia/wav_writer.c:294: error: 'BYTES_PER_SAMPLE' undeclared
> (first use in this function)
> ../src/pjmedia/wav_writer.c:294: error: (Each undeclared identifier is
> reported only once
> ../src/pjmedia/wav_writer.c:294: error: for each function it appears in.)
> make[2]: *** [output/pjmedia-powerpc-apple-darwin8.11.0/wav_writer.o] Error
> 1
> make[1]: *** [pjmedia] Error 2
> make: *** [all] Error 1
>
>
> I checked out wav_writer.c, attempted to change the case (to all lower
> case) of the constant 'BYTES_PER_SAMPLE', but still got the same
> error.  Searched the list for an answer but couldn't find one.
>
>
I've just fixed this in the latest SVN (
http://trac.pjsip.org/repos/ticket/649). Thanks for the report!

 -benny



> Any ideas?
>
> Thanks,
> Craig
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081001/908e80ce/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux