Dear Marcelo!

What the makefile fails to include is the file su_win32_port.c. There 
are a bunch of ways to accomplish this. The simplest is to just add it 
to the makefile. However this is not the only problem when building 
sofia-sip on mingw.

Have a look at older posts in the mailing list. Find the post from 
2009-03-06 to 2009-03-13 to find some answers. However, it never really 
worked for me, well the compiling did but later I never managed to send 
any SIP message due to some black listing problems which did not appear 
for the same code both using Visula studio on windows or Linux.

Please let us know if you got it to work.

Cheers,
Jonas

Marcelo de Sá Mendoza skrev:
> Hi all,
>
> I am having a problem to compile Sofia for windows. I'm getting the 
> following errors:
>
> ../su/ .libs/libsu.a( su_port.o ): In function 'su_default_port_create':
> C:/mysys/1.0/home/marcelo.
> mendoza/sofia-sip-1.12.10/libsofia-sip-ua/su/su_port.c:63: undefined 
> reference to 'su_wsaevent_port_create'
> ../su/ .libs/libsu.a( su_port.o ): In function 'su_default_clone_start':
> C:/mysys/1.0/home/marcelo.mendoza/sofia-sip-1.12.10/libsofia-sip-ua/su/su_port.c:86:
>  
> undefined reference to 'su_wsaevent_clone_start'
> ../su/ .libs/libsu.a( su_port.o ): In funciont 
> 'su_port_set_system_preferences':
> C:/mysys/1.0/home/marcelo.mendoza/sofia-sip-1.12.10/libsofia-sip-ua/su/su_port.c:142:
>  
> undefined reference to 'su_wsaevent_port_create'
> C:/mysys/1.0/home/marcelo.mendoza/sofia-sip-1.12.10/libsofia-sip-ua/su/su_port.c:143:
>  
> undefined reference to 'su_wsaevent_clone_start'
>
> collect2: ld returned 1 exit status
> make[4]: *** [stunt.exe] Error 1
> make[4]: Leaving directory 
> '/home/marcelo.mendoza/sofia-sip-1.12.10/libsofia-sip-ua/stun'
> make[3]: ***[all] Error 2
> make[3]: Leaving directory 
> '/home/marcelo.mendoza/sofia-sip-1.12.10/libsofia-sip-ua/stun'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> '/home/marcelo.mendoza/sofia-sip-1.12.10/libsofia-sip-ua/'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/marcelo.mendoza/sofia-sip-1.12.10/'
> make: *** [all] Error 2
>
> I would be glad if someone of you can help me. Thanks a lot!
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>   


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to