Hi all,

I cannot find a way of getting su_win32_port.c compiled and added to
libsofia_sip in MinGW.

This is causing the following failure:

gcc -Wall -g -O2 "-I./win32/pthread" -DWINVER=0x0501
-D_WIN32_WINNT=0x0501 -DIN_LIBSOFIA_SIP_UA -DIN_LIBSOFIA_SRES
-mms-bitfields -pipe -mno-cygwin 
-mwindows -mconsole -Wall -g -O0 -Wl,--enable-auto-image-base -o
stunc.exe stunc.o  ./.libs/libstun.a -L/c/x/y/sofia-sip_1_12_10/win32/pthread
../sresolv/.libs/libsresolv.a ../su/.libs/libsu.a -L./win32/pthread -lpthread -l
pthreadVC2 -lws2_32 -lwsock32
../su/.libs/libsu.a(su_port.o): In function `su_default_port_create':
c:\x\y\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:\x\y\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 function `su_port_set_system_preferences':
c:\x\y\sofia-sip_1_12_10\libsofia-sip-ua\su/su_port.c:142:
 undefined reference to `su_wsaevent_port_create'
c:\x\y\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]: *** [stunc.exe] Error 1
make[4]: Leaving directory `/c/x/y/sofia-sip_1_12_10/libsofia-sip-ua/stun'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/c/x/y/sofia-sip_1_12_10/libso
fia-sip-ua/stun'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/x/y/sofia-sip_1_12_10/libsofia-sip-ua'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/x/y/sofia-sip_1_12_10'
make: *** [all] Error 2

Can you suggest how to fix this?

Regards.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to