On 7/12/06, Richard Jones <[EMAIL PROTECTED]> wrote:
> Is anyone attempting to port this to FreeBSD?

Nope, but we got it compiled on OS X, which is supposed to be quite
FreeBSDish, but without IPv6.

> I get the following when I try to compile:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsofia-sip-ua/su/sofia-sip -g 
> -O2 -Wall -MT su_port.lo -MD -MP -MF .deps/su_port.Tpo -c su_port.c  -fPIC 
> -DPIC -o .libs/su_port.o In file included from su_port.c:63:
> sofia-sip/su.h:197: error: field `su_sin6' has incomplete type
>  *** Error code 1

It looks like FreeBSD does not provide IPv6 if XOPEN_SOURCE is defined
and it is below 600.
Remove these two lines from "su_port.c":

/* Use Posix stuff */
#define _XOPEN_SOURCE  (500)

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to