On Mon, 14 Jul 2008 16:11:25 +0700, Benny Prijono <bennylp at pjsip.org> wrote: > 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. umm. i think as u but i dont known why the configure cant detected it i build there library on PC Host > > >> 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]". > i think like above answer and i use configure here ./configure --host=mipsel-linux --build=i386-linux --prefix=/mnt/flash2/ > > 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. > pardon, i missing > >> >> 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. > i found and can fix it for run test http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-April/002411.html >> ~ #./level-mipsel untitle.wma~ #./pjsip-test-mipsel but when i do this pjsua http://www.pjsip.org/pjsua.htm#invoking by pjsua-mipsel ~#./pjsua-mipsel sip:192.168.246.22 ~# i think it not to do anything (This command below will initiate outgoing call to some SIP URL) i trid to use wireshark for capture packet but i'm not found anything (on LAN & Crosswire) what's the problem? -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/