Subject: samba woes
To: None <tech-pkg@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-pkg
Date: 01/08/2005 13:33:20
Samba is broken in netbsd-current. I suspect this has something to do
with the recent PAM changes.

Any ideas on how to fix this? It is keeping me from rebuilding gnome.

Perry


===> Building for samba-3.0.10nb1
Using FLAGS =  -O2 -I/usr/pkg/include -I./popt -Iinclude -I/usr/pkgsrc/net/samba
/work.hackworth/samba-3.0.10/source/include -I/usr/pkgsrc/net/samba/work.hackwor
th/samba-3.0.10/source/ubiqx -I/usr/pkgsrc/net/samba/work.hackworth/samba-3.0.10
/source/smbwrapper  -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
 -I/usr/pkgsrc/net/samba/work.hackworth/samba-3.0.10/source   
      LIBS = -lcrypt -lresolv
      LDSHFLAGS = -shared  -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
      LDFLAGS = -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
WARNING: you need to run ./config.status
Compiling nsswitch/pam_winbind.c with -fPIC -DPIC
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:89: warning: assignment discards qualifiers from pointer 
target type
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first u
se in this function)
nsswitch/pam_winbind.c:341: error: (Each undeclared identifier is reported only 
once
nsswitch/pam_winbind.c:341: error: for each function it appears in.)
nsswitch/pam_winbind.c:362: warning: assignment discards qualifiers from pointer
 target type
nsswitch/pam_winbind.c:370: warning: assignment discards qualifiers from pointer
 target type
nsswitch/pam_winbind.c:376: warning: assignment discards qualifiers from pointer
 target type
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/samba/work.hackworth/samba-3.0.10/source
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/samba
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/samba
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/samba
*** Error code 1