Hi all! I'm generating the Kannel (latest snapshot) with cygwin 1.3.6 on a Win2000 platform. It compiles OK but generates some errors related to pthread/poll in the self tests.
Here's an extract of check_fakesmsc_bb.log: ----------------------------------------------------------------------------------------------- 2002-01-10 13:41:37 [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2002-01-10 13:41:37 [0] DEBUG: Kannel bearerbox version `1.1.4'. System CYGWIN_NT-5.0, release 1.3.6(0.47/3/2), version 2001-12-08 17:02, machine i686. Hostname tribe_server_20, IP 137.58.84.45. Libxml version 20412. Using checking malloc. 2002-01-10 13:41:37 [0] INFO: ---------------------------------------- 2002-01-10 13:41:37 [0] INFO: Kannel bearerbox II version 1.1.4 starting 2002-01-10 13:41:37 [0] DEBUG: HTTP: Opening server at port 13000. 2002-01-10 13:41:37 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-01-10 13:41:37 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-01-10 13:41:37 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-01-10 13:41:37 [0] DEBUG: starting smsbox connection module 2002-01-10 13:41:37 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-01-10 13:41:37 [0] DEBUG: Started thread 5 (gw/smsc_fake.c:fake_listener) 2002-01-10 13:41:37 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router) 2002-01-10 13:41:37 [6] DEBUG: sms_router: time to sleep 2002-01-10 13:41:37 [0] INFO: MAIN: Start-up done, entering mainloop 2002-01-10 13:41:37 [0] DEBUG: smsc_fake: start called 2002-01-10 13:41:37 [6] DEBUG: sms_router: list_len = 0 2002-01-10 13:41:39 [5] INFO: Fakesmsc client connected from 127.0.0.1 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:39 [5] DEBUG: smsc_fake: new message received 2002-01-10 13:41:40 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function) 2002-01-10 13:41:40 [7] INFO: Client connected from <127.0.0.1> 2002-01-10 13:41:40 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender) 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [8] DEBUG: boxc_sender: sent message to <127.0.0.1> 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: sms received 2002-01-10 13:41:40 [7] DEBUG: boxc_receiver: got ack 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:40 [5] DEBUG: smsc_fake: sending message to client 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [4] ERROR: wait_for_connections failed 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: gwthread_poll: error in poll 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [4] ERROR: wait_for_connections failed 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [7] ERROR: gwthread_pollfd: error in poll 2002-01-10 13:41:41 [7] ERROR: conn_wait: poll failed on fd 23: 2002-01-10 13:41:41 [7] ERROR: Connection to box <127.0.0.1> broke. 2002-01-10 13:41:41 [1] ERROR: Poller: can't handle error; sleeping 1 second. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. 2002-01-10 13:41:41 [2] WARNING: HTTP: gwthread_poll failed. ... and so on ... For test purpose, i also tried to compile kannel1.1.4 on cygwin, for which i know there's a binary distribution, and i got the same problems in pthread/poll. Any idea of what the problem could be, and how to make it work? Any suggestion on which version of cygwin i should use, or customizations that should be done on Kannel to make it work? Cheers, Shaofeng I-Lab, Ericsson mailto:[EMAIL PROTECTED] +33 1 64 47 49 49 (tel) +33 1 64 47 69 41 (fax) +33 6 85 42 19 56 (mobile)