From: Takahiro Kambe Date: 2003-08-16T15:49:52+09:00 Subject: [ruby-list:38127] Re: ruby-tcpwrap and mkmf.rb ----Next_Part(Sat_Aug_16_15:49:38_2003_770)-- Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit In message <200308160518.h7G5IXPL012842@sharui.nakada.kanuma.tochigi.jp> on Sat, 16 Aug 2003 14:18:35 +0900, nobu.nakada@nifty.ne.jp wrote: > mkmf.logはどうなってますか。 後に付けます。 In message <86zniarwcm.knu@iDaemons.org> on Sat, 16 Aug 2003 14:43:23 +0900, "Akinori MUSHA" wrote: > At Sat, 16 Aug 2003 12:51:55 +0900, > Takahiro Kambe wrote: > > o ライセンスが変わった。 > > o NetBSDで再びextconf.rbでMakefileの作成に失敗するようになった。 > > > > というところまで確認しました。 > > 0.5 も確認してみてください。パッチを送って取り込んでもらった 0.5も試していましたが、更新された0.3と0.5はextconf.rbが同一になってい ます。(著作権表示はともかく、同じバージョンでextconf.rbが変わってしまっ たのは事故ならともかく、どうかと思います。) 旧0.3: OK 新0.3と0.5: NG です。 -- 神戸 隆博 / Takahiro Kambe ----Next_Part(Sat_Aug_16_15:49:38_2003_770)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Description: mkmf.log Content-Disposition: inline; filename="mkmf.log" cc -E -E -I/usr/pkg/lib/ruby/1.6/i386-netbsdelf -O2 -fPIC -pipe conftest.c conftest.c:1: ident.h: No such file or directory # 1 "conftest.c" cc -E -E -I/usr/pkg/lib/ruby/1.6/i386-netbsdelf -O2 -fPIC -pipe conftest.c # 1 "conftest.c" # 1 "/usr/include/tcpd.h" 1 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 1 "/usr/include/machine/cdefs.h" 1 3 # 63 "/usr/include/sys/cdefs.h" 2 3 # 1 "/usr/include/sys/cdefs_elf.h" 1 3 # 88 "/usr/include/sys/cdefs_elf.h" 3 # 65 "/usr/include/sys/cdefs.h" 2 3 # 131 "/usr/include/sys/cdefs.h" 3 # 190 "/usr/include/sys/cdefs.h" 3 # 8 "/usr/include/tcpd.h" 2 3 # 1 "/usr/include/stdio.h" 1 3 # 1 "/usr/include/sys/ansi.h" 1 3 # 1 "/usr/include/machine/int_types.h" 1 3 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short int __int16_t; typedef unsigned short int __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long int __int64_t; typedef unsigned long long int __uint64_t; typedef int __intptr_t; typedef unsigned int __uintptr_t; # 42 "/usr/include/sys/ansi.h" 2 3 typedef char * __caddr_t; typedef __uint32_t __gid_t; typedef __uint32_t __in_addr_t; typedef __uint16_t __in_port_t; typedef __uint32_t __mode_t; typedef __int64_t __off_t; typedef __int32_t __pid_t; typedef __uint8_t __sa_family_t; typedef unsigned int __socklen_t; typedef __uint32_t __uid_t; # 44 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/sys/featuretest.h" 1 3 # 47 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/machine/ansi.h" 1 3 typedef union { char __mbstate8[128]; __int64_t __mbstateL; } __mbstate_t; # 49 "/usr/include/stdio.h" 2 3 typedef unsigned int size_t; # 1 "/usr/include/sys/null.h" 1 3 # 55 "/usr/include/stdio.h" 2 3 typedef __off_t fpos_t; struct __sbuf { unsigned char *_base; int _size; }; typedef struct __sFILE { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; void *_cookie; int (*_close) (void *) ; int (*_read) (void *, char *, int) ; fpos_t (*_seek) (void *, fpos_t, int) ; int (*_write) (void *, const char *, int) ; struct __sbuf _ext; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; fpos_t _offset; } FILE; extern FILE __sF[]; void clearerr (FILE *) ; int fclose (FILE *) ; int feof (FILE *) ; int ferror (FILE *) ; int fflush (FILE *) ; int fgetc (FILE *) ; int fgetpos (FILE * __restrict, fpos_t * __restrict) ; char *fgets (char * __restrict, int, FILE * __restrict) ; FILE *fopen (const char *, const char *) ; int fprintf (FILE * __restrict , const char * __restrict, ...) ; int fputc (int, FILE *) ; int fputs (const char * __restrict, FILE * __restrict) ; size_t fread (void * __restrict, size_t, size_t, FILE * __restrict) ; FILE *freopen (const char *, const char *, FILE * __restrict) ; int fscanf (FILE * __restrict, const char * __restrict, ...) ; int fseek (FILE *, long, int) ; int fsetpos (FILE *, const fpos_t *) ; long ftell (FILE *) ; size_t fwrite (const void * __restrict, size_t, size_t, FILE * __restrict) ; int getc (FILE *) ; int getchar (void) ; void perror (const char *) ; int printf (const char * __restrict, ...) ; int putc (int, FILE *) ; int putchar (int) ; int puts (const char *) ; int remove (const char *) ; void rewind (FILE *) ; int scanf (const char * __restrict, ...) ; void setbuf (FILE * __restrict, char * __restrict) ; int setvbuf (FILE * __restrict, char * __restrict, int, size_t) ; int sscanf (const char * __restrict, const char * __restrict, ...) ; FILE *tmpfile (void) ; int ungetc (int, FILE *) ; int vfprintf (FILE * __restrict, const char * __restrict, char * ) ; int vfprintf_unlocked (FILE * __restrict, const char * __restrict, char * ) ; int vprintf (const char * __restrict, char * ) ; char *gets (char *) ; int sprintf (char * __restrict, const char * __restrict, ...) ; char *tmpnam (char *) ; int vsprintf (char * __restrict, const char * __restrict, char * ) ; int rename (const char *, const char *) ; char *ctermid (char *) ; char *cuserid (char *) ; FILE *fdopen (int, const char *) ; int fileno (FILE *) ; void flockfile (FILE *) ; int ftrylockfile (FILE *) ; void funlockfile (FILE *) ; int getc_unlocked (FILE *) ; int getchar_unlocked (void) ; int putc_unlocked (int, FILE *) ; int putchar_unlocked (int) ; int pclose (FILE *) ; FILE *popen (const char *, const char *) ; int getw (FILE *) ; int putw (int, FILE *) ; int snprintf (char * __restrict, size_t, const char * __restrict, ...) __attribute__((__format__(__printf__, 3, 4))); int vsnprintf (char * __restrict, size_t, const char * __restrict, char * ) __attribute__((__format__(__printf__, 3, 0))); char *tempnam (const char *, const char *) ; typedef __off_t off_t; int fseeko (FILE *, __off_t , int) ; __off_t ftello (FILE *) ; int asprintf (char ** __restrict, const char * __restrict, ...) __attribute__((__format__(__printf__, 2, 3))); char *fgetln (FILE * __restrict, size_t * __restrict) ; char *fparseln(FILE *, size_t *, size_t *, const char[3], int); int fpurge (FILE *) ; void setbuffer (FILE *, char *, int) ; int setlinebuf (FILE *) ; int vasprintf (char ** __restrict, const char * __restrict, char * ) __attribute__((__format__(__printf__, 2, 0))); int vscanf (const char * __restrict, char * ) __attribute__((__format__(__scanf__, 1, 0))); int vfscanf (FILE * __restrict, const char * __restrict, char * ) __attribute__((__format__(__scanf__, 2, 0))); int vsscanf (const char * __restrict, const char * __restrict, char * ) __attribute__((__format__(__scanf__, 2, 0))); const char *fmtcheck (const char *, const char *) __attribute__((__format_arg__(2))); FILE *funopen (const void *, int (*)(void *, char *, int), int (*)(void *, const char *, int), fpos_t (*)(void *, fpos_t, int), int (*)(void *)) ; int __srget (FILE *) ; int __swbuf (int, FILE *) ; static __inline int __sputc(int _c, FILE *_p) { if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) return (*_p->_p++ = _c); else return (__swbuf(_c, _p)); } # 438 "/usr/include/stdio.h" 3 # 9 "/usr/include/tcpd.h" 2 3 struct host_info { char name[128 ]; char addr[128 ]; struct sockaddr *sin; struct t_unitdata *unit; struct request_info *request; }; struct request_info { int fd; char user[128 ]; char daemon[128 ]; char pid[10]; struct host_info client[1]; struct host_info server[1]; void (*sink) (int) ; void (*hostname) (struct host_info *) ; void (*hostaddr) (struct host_info *) ; void (*cleanup) (void) ; struct netconfig *config; }; extern char unknown[]; extern char paranoid[]; extern int hosts_access (struct request_info *) ; extern int hosts_ctl (char *, char *, char *, char *) ; extern void shell_cmd (char *) ; extern char *percent_x (char *, int, char *, struct request_info *) ; extern void rfc931 (struct sockaddr *, struct sockaddr *, char *) ; extern void clean_exit (struct request_info *) ; extern void refuse (struct request_info *) ; extern char *xgets (char *, int, FILE *) ; extern char *split_at (char *, int) ; extern int dot_quad_addr (char *, unsigned long *) ; extern int allow_severity; extern int deny_severity; extern char *hosts_allow_table; extern char *hosts_deny_table; extern int hosts_access_verbose; extern int rfc931_timeout; extern int resident; extern struct request_info *request_init (struct request_info *,...) ; extern struct request_info *request_set (struct request_info *,...) ; extern char *eval_user (struct request_info *) ; extern char *eval_hostname (struct host_info *) ; extern char *eval_hostaddr (struct host_info *) ; extern char *eval_hostinfo (struct host_info *) ; extern char *eval_client (struct request_info *) ; extern char *eval_server (struct request_info *) ; extern void sock_host (struct request_info *) ; extern void sock_hostname (struct host_info *) ; extern void sock_hostaddr (struct host_info *) ; extern void tcpd_warn (char *, ...) __attribute__((__format__(__printf__, 1, 2))); extern void tcpd_jump (char *, ...) __attribute__((__format__(__printf__, 1, 2))); struct tcpd_context { char *file; int line; }; extern struct tcpd_context tcpd_context; extern void process_options (char *, struct request_info *) ; extern int dry_run; extern void fix_options (struct request_info *) ; # 1 "conftest.c" 2 cc -o conftest -I/usr/pkg/lib/ruby/1.6/i386-netbsdelf -O2 -fPIC -pipe -Wl,-export-dynamic conftest.c -lwrap -lc -lcrypt -lm /usr/lib/libwrap.so: undefined reference to `allow_severity' /usr/lib/libwrap.so: undefined reference to `deny_severity' ----Next_Part(Sat_Aug_16_15:49:38_2003_770)----