: Error building PJSIP 2.2.1 with MINGW

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

 



Hi All,
I am trying to build  pjsip with ming32 .
below architecture details

   - Win7x64
   - MinGW32
   - JDK7
   - python 2.7
   - swig 3.0.1 (pre-built)

./Configure and make dep seems to work fine but , when launching make I got
this erreor

Any help will be appreciated ! thanks in advance

                ../src/pj/ioqueue_select.c

../src/pj/ioqueue_select.c:1: warning: -fPIC ignored for target (all
code is position independent)
In file included from ../src/pj/ioqueue_select.c:137:
../src/pj/ioqueue_common_abs.c: In function `ioqueue_dispatch_read_event':


../src/pj/ioqueue_common_abs.c:555: error: `WSAECONNRESET' undeclared
(first use in this function)
../src/pj/ioqueue_common_abs.c:555: error: (Each undeclared identifier
is reported only once
../src/pj/ioqueue_common_abs.c:555: error: for each function it appears in.)


../src/pj/ioqueue_common_abs.c: In function `pj_ioqueue_recv':
../src/pj/ioqueue_common_abs.c:715: error: `WSAEWOULDBLOCK' undeclared
(first use in this function)
../src/pj/ioqueue_common_abs.c: In function `pj_ioqueue_recvfrom':


../src/pj/ioqueue_common_abs.c:789: error: `WSAEWOULDBLOCK' undeclared
(first use in this function)
../src/pj/ioqueue_common_abs.c: In function `pj_ioqueue_send':
../src/pj/ioqueue_common_abs.c:877: error: `WSAEWOULDBLOCK' undeclared
(first use in this function)


../src/pj/ioqueue_common_abs.c: In function `pj_ioqueue_sendto':
../src/pj/ioqueue_common_abs.c:1001: error: `WSAEWOULDBLOCK'
undeclared (first use in this function)
../src/pj/ioqueue_common_abs.c: In function `pj_ioqueue_accept':


../src/pj/ioqueue_common_abs.c:1127: error: `WSAEWOULDBLOCK'
undeclared (first use in this function)
../src/pj/ioqueue_common_abs.c: In function `pj_ioqueue_connect':
../src/pj/ioqueue_common_abs.c:1186: error: `WSAEWOULDBLOCK'
undeclared (first use in this function)


../src/pj/ioqueue_select.c: In function `pj_ioqueue_register_sock2':
../src/pj/ioqueue_select.c:375: warning: implicit declaration of
function `ioctlsocket'
make[2]: *** [output/pjlib-i686-pc-mingw32/ioqueue_select.o] Error 1


make[2]: Leaving directory
`/d/Dev/workspace_welsuite/pjproject-trunk/pjlib/build'
make[1]: *** [libpj-i686-pc-mingw32.a] Error 2
make[1]: Leaving directory
`/d/Dev/workspace_welsuite/pjproject-trunk/pjlib/build'


make: *** [all] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140605/15ae6212/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