Help for PJ_FD_ZERO: Assertion

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

 



On Mon, Jul 14, 2008 at 4:14 AM, warun <pureroot at gmail.com> wrote:

> hi all
> i'm tried to port PJ project for my embedded system
> - MIPS [Core]
> - Linux [OS]
>
> i work hard for this porting
> PJ's required libuuid & libssl & libcypt.. (now ready on my target)
>
>
These libraries are optional and should have been detected automatically by
the configure script.


> then i found warning linked against ! GNU libc
> since wrong linking in several makefile -lssl -l...
> link to host library
>
>
Are you hacking the makefiles manually rather than using the configure
script? When cross compiling for Linux, normally it should be as simple as
running "./aconfigure --host=mipsel-linux [options]".


and i fixed this warning until some app from PJlib can run on my target
> system
>
> but i think i miss something for porting
> when i tried to run level-mipsel untitled.wma
> (pjsip-apps/bin/samples/level-mipsel)


If "wma" is Windows Media Audio file, then it's not supported. We only
support WAV file format for now.


>
> i get some fail inside PJ project
> here:
>
> ~ #./level-mipsel untitle.wma
> ../src/pj/sock_select.c:45:PJ_FD_ZERO:Assertion
> 'sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set)' failed.
> Aborted
> ~ #
>
> ~ #./pjsip-test-mipsel
> ../src/pj/sock_select.c:45:PJ_FD_ZERO:Assertion
> 'sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set)' failed.
> Aborted
> ~ #
>
> what's it?
>
>
I think that means the value of PJ_IOQUEUE_MAX_HANDLES is larger than
FD_SETSIZE. Try to find out what the FD_SETSIZE value is and set
PJ_IOQUEUE_MAX_HANDLES to this value in your config_site.h.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080714/bed89b42/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