Thanks for all peope who helps me for the problem of WinMain@16. Now I have another issue: dhcdupli.c: In function `SendServerCmd_UDP': dhcdupli.c:1871: warning: passing arg 2 of `bind' from incompatible pointer type dhcdupli.c:1912: warning: passing arg 5 of `sendto' from incompatible pointer ty pe dhcdupli.c:1919: warning: passing arg 2 of `recvfrom' from incompatible pointer type dhcdupli.c:1919: warning: passing arg 5 of `recvfrom' from incompatible pointer type make[1]: *** No rule to make target `-lpthread', needed by `dhcdupli'. Stop. make[1]: Leaving directory `/cygdrive/d/dhcp/code/dhcp/dupli' make: *** [all] Error 1 thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/