From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Feb 26 10:06:35 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h1Q16Zw63455;
	Wed, 26 Feb 2003 10:06:35 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from s-gikan2.maizuru-ct.ac.jp (s-gikan2.maizuru-ct.ac.jp [202.19.105.11])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with SMTP/inet id h1Q16Zi63450
	for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 26 Feb 2003 10:06:35 +0900 (JST)
	(envelope-from magara@maizuru-ct.ac.jp)
Received: (qmail 28163 invoked from network); 26 Feb 2003 01:06:29 -0000
Received: from magaram.maizuru-ct.ac.jp (HELO magaram) (10.1.65.81)
  by s-gikan2.maizuru-ct.ac.jp with SMTP; 26 Feb 2003 01:06:29 -0000
To: FreeBSD-users-jp@jp.FreeBSD.org
From: "K.Magara" <magara@maizuru-ct.ac.jp>
Message-Id: <200302261007.DEG30759.BSNHBB@maizuru-ct.ac.jp>
X-Mailer: Winbiff [Version 2.42]
X-Accept-Language: ja,en
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 26 Feb 2003 10:07:01 +0900
X-Sequence: FreeBSD-users-jp 73581
Subject: [FreeBSD-users-jp 73581] ja-samba-2.2.7a(ports)
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: magara@maizuru-ct.ac.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030107

$BbCJA!wIqDa9b@l$G$9(B

$B@h:"8x3+$5$l$?(B ja-samba-2.2.7a $B$N(B winbind $B5!G=$r8!>Z$7$h$&$H(B
ports $B$+$i(B make $B$7$^$7$?$,!$%(%i!<$G;_$^$j$^$7$?!%(B
make $B$NA*Br%*%W%7%g%s$O(B syslog/ssl/nocups/winbind/wbauth $B$rA*Br(B

Compiling nsswitch/pam_winbind.c with -fPIC -DPIC
In file included from nsswitch/pam_winbind.c:12:
nsswitch/pam_winbind.h:34: warning: `PAM_AUTHTOK_RECOVER_ERR' redefined
/usr/include/security/_pam_types.h:72: warning: this is the location of the previous definition
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:277: `PAM_AUTHTOK_RECOVERY_ERR' undeclared (first use in this function)
nsswitch/pam_winbind.c:277: (Each undeclared identifier is reported only once
nsswitch/pam_winbind.c:277: for each function it appears in.)
gmake: *** [nsswitch/pam_winbind.po] $B%(%i!<(B 1
*** Error code 2

Stop in /usr/ports/japanese/samba.
*** Error code 1

Stop in /usr/ports/japanese/samba.

$B$G!$0J2<$N$h$&$J%Q%C%A$rEv$F$^$7$?$,!$(B
$B$3$s$J$N$GNI$$$N$G$7$g$&$+!)(B
$B$=$b$=$b(B FreeBSD $B$G(B winbind $B;H$($k$N$+$J$!(B...
## $B$r:#$+$i;n$9$s$G$9$,(B(^^;)

--- work/samba-2.2.7a-ja-1.0/source/nsswitch/pam_winbind.h.orig	Wed Feb 26 09:40:05 2003
+++ work/samba-2.2.7a-ja-1.0/source/nsswitch/pam_winbind.h	Wed Feb 26 09:40:47 2003
@@ -31,7 +31,9 @@
 #define PAM_EXTERN extern
 #include <security/pam_appl.h> 
 
+#if !defined(FREEBSD)
 #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+#endif
 #endif
 
 #ifdef HAVE_SECURITY_PAM_MODULES_H


----------------------------------------------
  $BIqDa9)6H9bEy@lLg3X9;!!650i8&5f;Y1g%;%s%?!<(B
  $BbCJA!!8-0l(B
  E-mail   : magara@maizuru-ct.ac.jp
  HomePage : http://s-gikan2.maizuru-ct.ac.jp/
