Greetings, I have some simple sockets code that creates a socket and uses some of the sockets functions such as inet_ntoa and inet_addr. When I build it normally (just using gcc with no flags) it builds fine and I get an executable that is fine. When I use the -mno-cygwin flag, I get this error: C:\TEMP/ccEBGzJe.o(.text+0x110):addr_conversio: undefined reference to `inet_addr' C:\TEMP/ccEBGzJe.o(.text+0x136):addr_conversio: undefined reference to `inet_ntoa' C:\TEMP/ccEBGzJe.o(.text+0x17e):addr_conversio: undefined reference to `inet_ntoa' collect2: ld returned 1 exit status I'm a little new to cygwin so I don't completely understand why it is doing this. Can you not use these functions in a standalone app? Anyone with an answer or an explanation would be greatly appreciated. -Bryan -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple