2007/4/16, Jerry Richards <[EMAIL PROTECTED]>: > Well, I have successfully ported the SIP signaling portion (i.e. > registration and basic incoming/outgoing call, excluding audio/SDP) on my > MIPS 4KEC embedded platform using Sofia-SIP. Below, I have listed my local > changes to sofia-sip-1.12.4 in order to make it work for me.
Cool. > 1) configure: > Manually changed line to #undef SU_HAVE_IN6 (instead of #define > SU_HAVE_IN6) OK, this needs some tweaking in configure.ac or m4 files.. > 2) lib-sofia-sip-ua/bnf.c: > Moved buf declaration outside #ifdef SU_HAVE_IN6 I think it is done in darcs tree. > 3) lib-sofia-sip-ua/sip/sip_pref_util.c: > Patched (strtod_patch.dat) per Pekka Pessi because our stdlib has no > strtod() The preference parsing was broken for negative numbers, too, so I fixed it in the darcs tree and it should 1.12.6. > 5) lib-sofia-sip-ua/su/su_port.c: > Added #define __CYGWIN__ 1 This is fixed in darcs tree. > 4) lib-sofia-sip-ua/sip/sofia-sip/sip_header.h: > Forced __attribute__() to be undefined for __cplusplus > 6) lib-sofia-sip-ua/su/sofia-sip/su_config.h: > Forced __attribute__() to be undefined for __cplusplus > I added the following lines to each of these two files: >#if defined(_cplusplus) ># define __attribute__(x) >#endif What version of compiler you have that chokes on __attribute__? An old variant of GCC? I guess more modern g++ do not mind __attribute__ . The best place to fix it would be in the beginning of su_config.h where we now disable __attribute__(__malloc__) for gcc 2.95 or earlier. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
