pjsip on open solaris 2009.6

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

 



Hi,?? ?I'm evaluating pjsip on Open Solaris Release 2009.6. I'm facing an issue and need help on that. I coudln't find help for all the issues i faced while compiling pjsip on Open solaris, so listing out the steps. The exact issue i'm facing is described in 7th step, rest steps 1 to 6 are related to compiling.?
1. install gmake and gcc with the help of package manager. (System ?> Administration > Package Manager)
2.extract -xjvf pjproject-1.4.5.tar.bz2
3. cd pjproject-1.4.5
4. ./configure --disable-sound --disable-oss --disable-small-filter --disable-large-filter --disable-speex-aec ?--disable-g711-codec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec ?--disable-speex-codec ?--disable-ilbc-codec --disable-ssl
5. gmake dep
6. gmake
It stopped at following error:
../src/pj/ioqueue_select.c: In function `pj_ioqueue_register_sock':../src/pj/ioqueue_select.c:366: error: `FIONBIO' undeclared (first use in this function)
Solution:Include #include <sys/filio.h> in ./pjlib/src/pj/ioqueue_select.c
Again , gmake. Now it stopped at following error:
../src/pj/ip_helper_generic.c: In function `if_enum_by_af':../src/pj/ip_helper_generic.c:257: error: `SIOCGIFFLAGS' undeclared (first use in this function)
Solution:Include #include <sys/sockio.h> in ./pjlib/src/pj/ip_helper_generic.c
Again, gmake. Now it stopped at following error:
ld: elf error: file ../lib/libpjmedia-codec-i386-pc-solaris2.11.a: elf_getarsymld: fatal: file processing errors. No output written to ../bin/pjmedia-test-i386-pc-solaris2.11collect2: ld returned 1 exit status

Solution:/usr/ccs/bin/ar ?-ts ./pjmedia/lib/libpjmedia-codec-i386-pc-solaris2.11.a
No error after that , it compiled perfectcly :D .?
7. To tryout the sample call , i ran pjsip-perf in server mode. On the other end , i used sipp in different host.??? ./pjsip-apps/bin/samples/i386-pc-solaris2.11/pjsip-perf????? I got the following Error when pjsip-perf started:
?13:39:53.241 sip_transport_ ?Error setting SO_RCVBUF: No buffer space available [120132]?13:39:53.241 sip_transport_ ?Error setting SO_SNDBUF: No buffer space available [120132]
Reason for this error was, in sip_transport_upd.c : pj_sock_setsockopt() was faling to set Receive buffer size.
?? Solution:?? Increase the UDP Send and Receive buffer size by following command:?? ? ? ? ? ndd -set /dev/udp udp_max_buf 25165824?? ??? ?Tried again :?? ?./pjsip-apps/bin/samples/i386-pc-solaris2.11/pjsip-perf?? ??? ? ? ? pjsip-perf started without any error. However, when I send pumped calls from sipp, pjsip-perf showed the following warnings repeatedly:?? ? ? ???? ? ? ? 13:01:13.341 ? ? udp80e05d0 ?Warning: pj_ioqueue_recvfrom: [err -1] Unknown error -1?? ? ? ???? ? ? ? It is generated from ioqueue_common_abc.c : pj_ioqueue_recvfrom() : pj_sock_recvfrom.??? ? ? ???? ? ? ? It's not showing the reason of failure ?(Unknown error). Still all sip calls are successful. Could anyone please explain what exactly the cause of this Warning? Don't want any surprises later due to this .?? ? ? ??thanks,Amit Kasturi


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091118/c6ff2154/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