Hi, thanks for persevering past the mailing list problems! On Sat, 2006-09-09 at 08:54 -0500, Matthias Miller wrote: > I have been trying to compile neon (checked out from the trunk) with > MinGW, but ./configure has been failing with the following message: > > checking for library containing socket... not found > configure: error: could not find library containing socket ... > There were two problems. First, it needed winsock2.h (such as in > ne_socket.c). Second, the socket function accepts three parameters. The > attached diff causes the following file to be generated and compiled > instead:
It looks like the fix used for the first problem is the cause of the second problem. If the #include is avoided then the compiler won't know or care about the function prototype, and this check will just test whether the link works, which is as intended. Why was the #include needed? Because winsock2.h #defines socket to something else? The correct fix for that should just be to check for that symbol first and then avoid the check for symbol later. Regards, joe _______________________________________________ neon mailing list [email protected] http://mailman.webdav.org/mailman/listinfo/neon
