やまだ@三宝寺です。 On Sat, 09 Oct 2004 17:45:49 +0900 FUKUHARA Makoto <makoto@xxxxxxxxxxxxxxxxxx> wrote: > config.log と confdefs.h というファイルが出来ていると思います. > > config.log の方は > configure:2119: checking for getservbyport_r > から先の部分を,confdef.h の方は全部見せていただけますか. config.logのconfigure:2119以降は ---------------<ここから>--------------- onfigure:2119: checking for getservbyport_r configure:2147: gcc -o conftest -g -O2 -D_REENTRANT conftest.c 1>&5 + eval '${CC-cc}' -o 'conftest${ac_exeext}' '$CFLAGS' '$CPPFLAGS' '$LDFLAGS' 'conftest.$ac_ext' '$LI BS' '1>&5' ++ gcc -o conftest -g -O2 -D_REENTRANT conftest.c configure:2231: checking whether getservbyport_r takes 6 args configure:2242: gcc -c -g -O2 -D_REENTRANT conftest.c 1>&5 + eval '${CC-cc}' -c '$CFLAGS' '$CPPFLAGS' 'conftest.$ac_ext' '1>&5' ++ gcc -c -g -O2 -D_REENTRANT conftest.c In file included from /usr/include/bits/posix1_lim.h:130, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/limits.h:122, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/limits.h:11, from /usr/include/bits/socket.h:31, from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from configure:2236: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from configure:2236: /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory configure: failed program was: #line 2233 "configure" #include "confdefs.h" #include <unistd.h> #include <sys/types.h> #include <netdb.h> int main() { getservbyport_r(0, NULL, NULL, NULL, 0, NULL); ; return 0; } configure:2261: checking whether getservbyport_r takes 5 args configure:2272: gcc -c -g -O2 -D_REENTRANT conftest.c 1>&5 + eval '${CC-cc}' -c '$CFLAGS' '$CPPFLAGS' 'conftest.$ac_ext' '1>&5' ++ gcc -c -g -O2 -D_REENTRANT conftest.c In file included from /usr/include/bits/posix1_lim.h:130, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/limits.h:122, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/limits.h:11, from /usr/include/bits/socket.h:31, from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from configure:2266: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from configure:2266: /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory configure: In function `main': configure:2268: error: too few arguments to function `getservbyport_r' configure: failed program was: #line 2263 "configure" #include "confdefs.h" #include <unistd.h> #include <sys/types.h> #include <netdb.h> int main() { getservbyport_r(0, NULL, NULL, NULL, 0); ; return 0; } configure:2292: checking whether getservbyport_r takes 4 args configure:2303: gcc -c -g -O2 -D_REENTRANT conftest.c 1>&5 + eval '${CC-cc}' -c '$CFLAGS' '$CPPFLAGS' 'conftest.$ac_ext' '1>&5' ++ gcc -c -g -O2 -D_REENTRANT conftest.c In file included from /usr/include/bits/posix1_lim.h:130, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/limits.h:122, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-vine-linux/3.3.2/include/limits.h:11, from /usr/include/bits/socket.h:31, from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from configure:2297: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from configure:2297: /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory configure: In function `main': configure:2299: error: too few arguments to function `getservbyport_r' configure: failed program was: #line 2294 "configure" #include "confdefs.h" #include <unistd.h> #include <sys/types.h> #include <netdb.h> int main() { getservbyport_r(0, NULL, NULL, NULL); ; return 0; } ---------------<ここまで>--------------- confdefs.hの内容ですが、 ---------------<ここから>--------------- #define PACKAGE "iplog" #define VERSION "2.2.3" #define HAVE___ATTRIBUTE__ 1 #define HAVE_DPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_GETOPT_LONG 1 #define HAVE_LOCALTIME_R 1 #define HAVE_INET_ATON 1 #define HAVE_VSNPRINTF 1 #define HAVE_SNPRINTF 1 #define HAVE_GETPAGESIZE 1 #define HAVE_PATHS_H 1 #define STDC_HEADERS 1 #define HAVE_PTHREAD_CANCEL 1 #define HAVE_GETSERVBYPORT_R 1 ---------------<ここまで>--------------- となっています。 -- 0----+----1----+----2----+----3----+----4----+----5----+----6----+----7----# 山田 和雄 MailTo:yamada@xxxxxxxxxxxxx Yamada Kazuo HomePage:http://shadow.sampoji.jp/