[pjsip] compilation problem of trunk (msys+mingw+windowsXp)

Benny Prijono bennylp at pjsip.org
Fri Feb 8 10:27:51 EST 2008


Sorry, my fault again. I forgot that Mingw doesn't use GLIBC on
Windows. I've fixed this in:

http://trac.pjsip.org/repos/ticket/470#comment:2
http://trac.pjsip.org/repos/ticket/472#comment:3

Thanks for reporting this so quickly!

cheers,
 -benny

On 2/8/08, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> When setting PJ_IOQUEUE_MAX_HANDLES manually to 64 the linking fails:
>
>
> gcc -o ../bin/pjlib-test-i686-pc-mingw32 \
>       output/pjlib-test-i686-pc-mingw32/main.o
> output/pjlib-test-i686-pc-mingw32/atomic.o
> output/pjlib-test-i686-pc-mingw32/echo_clt.o
> output/pjlib-test-i686-pc-mingw32/errno.o
> output/pjlib-test-i686-pc-mingw32/exception.o
> output/pjlib-test-i686-pc-mingw32/fifobuf.o
> output/pjlib-test-i686-pc-mingw32/file.o
> output/pjlib-test-i686-pc-mingw32/ioq_perf.o
> output/pjlib-test-i686-pc-mingw32/ioq_udp.o
> output/pjlib-test-i686-pc-mingw32/ioq_unreg.o
> output/pjlib-test-i686-pc-mingw32/ioq_tcp.o
> output/pjlib-test-i686-pc-mingw32/list.o
> output/pjlib-test-i686-pc-mingw32/mutex.o
> output/pjlib-test-i686-pc-mingw32/os.o
> output/pjlib-test-i686-pc-mingw32/pool.o
> output/pjlib-test-i686-pc-mingw32/pool_perf.o
> output/pjlib-test-i686-pc-mingw32/rand.o
> output/pjlib-test-i686-pc-mingw32/rbtree.o
> output/pjlib-test-i686-pc-mingw32/select.o
> output/pjlib-test-i686-pc-mingw32/sleep.o
> output/pjlib-test-i686-pc-mingw32/sock.o
> output/pjlib-test-i686-pc-mingw32/sock_perf.o
> output/pjlib-test-i686-pc-mingw32/string.o
> output/pjlib-test-i686-pc-mingw32/test.o
> output/pjlib-test-i686-pc-mingw32/thread.o
> output/pjlib-test-i686-pc-mingw32/timer.o
> output/pjlib-test-i686-pc-mingw32/timestamp.o
> output/pjlib-test-i686-pc-mingw32/udp_echo_srv_sync.o
> output/pjlib-test-i686-pc-mingw32/udp_echo_srv_ioqueue.o
> output/pjlib-test-i686-pc-mingw32/util.o -lm -lwinmm -lole32 -lws2_32
> -lwsock32  ../lib/libpj-i686-pc-mingw32.a  -lm -lwinmm -lole32 -lws2_32
> -lwsock32
> ../lib/libpj-i686-pc-mingw32.a(os_core_win32.o):os_core_win32.c:(.text+0xd97):
> undefined reference to `pj_sem_create'
> ../lib/libpj-i686-pc-mingw32.a(os_core_win32.o):os_core_win32.c:(.text+0xe25):
> undefined reference to `pj_sem_wait'
> ../lib/libpj-i686-pc-mingw32.a(os_core_win32.o):os_core_win32.c:(.text+0xf17):
> undefined reference to `pj_sem_post'
> ../lib/libpj-i686-pc-mingw32.a(os_core_win32.o):os_core_win32.c:(.text+0xfef):
> undefined reference to `pj_sem_destroy'
> ../lib/libpj-i686-pc-mingw32.a(os_core_win32.o):os_core_win32.c:(.text+0xe85):
> undefined reference to `pj_sem_wait'
> ../lib/libpj-i686-pc-mingw32.a(os_core_win32.o):os_core_win32.c:(.text+0xf8b):
> undefined reference to `pj_sem_post'
> collect2: ld returned 1 exit status
> make[2]: *** [../bin/pjlib-test-i686-pc-mingw32] Error 1
> make[2]: Leaving directory
> `/workspace/pjproject-trunk-2008-02-08/pjlib/build'
> make[1]: *** [pjlib-test] Error 2
> make[1]: Leaving directory
> `/workspace/pjproject-trunk-2008-02-08/pjlib/build'
>
>
>
>
> regards
> klaus
>
>
> Klaus Darilion schrieb:
> > ../src/pj/sock_select.c:42:5: #error "PJ_IOQUEUE_MAX_HANDLES cannot be
> > greater than FD_SETSIZE"
> >
> > thanks
> > klaus
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>




More information about the pjsip mailing list