Samba 3.0A7

David Mair dmair at us.ibm.com
Thu Dec 13 08:22:03 GMT 2001


Hello:

In response to your request to download and install 3.0 we decided to go
ahead with this on some sandbox servers we have here.  However, we are
unable to compile the source code.

After running ./configure we run make and get an error when compiling
nsswitch/wb_client.c.  (See below for errors copied from stdout).  We are
running RH 7.2 Kernel 2.4.7-10 on a dual Pentium3 on an IBM e-server.  It
looks like the compiler doesn't like a function within the wb_client.c
code, however, I barely achieved an average grade in my C++ programming
class many moons ago so I haven't really a clue.  I also looked at the
output of the ./configure command and found that when configure looks for
nss_common.h it doesn't find it.  I'm not sure if these are related or not.

Something else unrelated, I noticed that the config checks whether or not
to support disk quotas.  When I run ./configure it says "no" to support
disk quotas, however, I have disk quotas turned on.  I'm not sure if there
is a problem here or not.

nsswitch/wb_client.c: In function `winbind_lookup_name':
nsswitch/wb_client.c:57: storage size of `result' isn't known
nsswitch/wb_client.c:77: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:77: `NSS_STATUS_SUCCESS' undeclared (first use in this
function)
nsswitch/wb_client.c:77: (Each undeclared identifier is reported only once
nsswitch/wb_client.c:77: for each function it appears in.)
nsswitch/wb_client.c: In function `winbind_lookup_sid':
nsswitch/wb_client.c:92: storage size of `result' isn't known
nsswitch/wb_client.c:105: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:109: `NSS_STATUS_SUCCESS' undeclared (first use in
this function)
nsswitch/wb_client.c: In function `winbind_sid_to_uid':
nsswitch/wb_client.c:142: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:146: `NSS_STATUS_SUCCESS' undeclared (first use in
this function)
nsswitch/wb_client.c: In function `winbind_uid_to_sid':
nsswitch/wb_client.c:173: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:177: `NSS_STATUS_SUCCESS' undeclared (first use in
this function)
nsswitch/wb_client.c: In function `winbind_sid_to_gid':
nsswitch/wb_client.c:208: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:212: `NSS_STATUS_SUCCESS' undeclared (first use in
this function)
nsswitch/wb_client.c: In function `winbind_gid_to_sid':
nsswitch/wb_client.c:239: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:243: `NSS_STATUS_SUCCESS' undeclared (first use in
this function)
nsswitch/wb_client.c: In function `wb_getgroups':
nsswitch/wb_client.c:267: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:269: `NSS_STATUS_SUCCESS' undeclared (first use in
this function)
make: *** [nsswitch/wb_client.o] Error 1

Thanks,

David Mair
IBM Global Services
South Operations
Lexington, KY







More information about the samba-technical mailing list