A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-November/018473.html below:

[Python-Dev] configure.in linkage error

[Python-Dev] configure.in linkage erroritojun@iijlab.net itojun@iijlab.net
Fri, 09 Nov 2001 11:51:29 +0900
	at least on NetBSD-current and 1.5.2,
	- sys/socket.h requires sys/types.h
	- NULL is not declared in sys/socket.h nor netdb.h
	therefore, the following patch is necessary to make getaddrinfo(3)
	detection successful.

NetBSD starfruit.itojun.org 1.5Y NetBSD 1.5Y (STARFRUIT) #3: Tue Nov  6 17:27:18 JST 2001     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386

itojun


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.279
diff -u -r1.279 configure.in
--- configure.in	2001/10/31 12:11:47	1.279
+++ configure.in	2001/11/09 02:50:03
@@ -1431,8 +1431,10 @@
 # for [no]getaddrinfo in netdb.h. 
 AC_MSG_CHECKING(for getaddrinfo)
 AC_TRY_LINK([
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
+#include <stdio.h>
 ],[
 getaddrinfo(NULL, NULL, NULL, NULL);
 ], [



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4