ANY hope getting this resolved? - why yes, there is!

David Edward Shapiro David.Edward.Shapiro at btitele.com
Fri Mar 1 17:12:11 GMT 2002


I noticed that in the Makefile, the WINBIND_NSS_OBJ line has
winbind_nss_solaris instead of winbind_nss_solaris.o.  After adding the .o,
it compiles fine.
WINBIND_NSS_OBJ = nsswitch/winbind_nss.o nsswitch/wb_common.o
nsswitch/winbind_nss_solaris

> -----Original Message-----
> From:	David Edward Shapiro 
> Sent:	Friday, March 01, 2002 4:21 PM
> To:	'samba-technical at lists.samba.org'
> Subject:	ANY hope getting this resolved?
> 
> Now, when I get the samba 3.0alpha15 via cvs update and compile on
> solaris, I get the following (note it can't find files):
> 
> This is after the recent modifications to help fix the ls -la error
> causing an ld.so.1 error.  I think the attempt to was get it to add
> -lsocket.  There were some other changes too (did a diff against prior
> Makefile).
> 
> David
> 
> Compiling nsswitch/winbind_nss.c with -fPIC
> Compiling nsswitch/wb_common.c with -fPIC
> gcc -O -Wall -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> nsswitch/winbind_nss_solaris.c   -o nsswitch/winbind_nss_solaris
> nsswitch/winbind_nss_solaris.c:15:22: includes.h: No such file or
> directory
> In file included from nsswitch/winbind_nss_solaris.c:16:
> nsswitch/winbind_nss_config.h:29:20: config.h: No such file or directory
> In file included from nsswitch/winbind_nss_solaris.c:16:
> nsswitch/winbind_nss_config.h:65:26: nsswitch/nss.h: No such file or
> directory
> In file included from nsswitch/winbind_nss_solaris.c:16:
> nsswitch/winbind_nss_config.h:70: parse error before
> "_nss_winbind_setpwent"
> nsswitch/winbind_nss_config.h:70: warning: type defaults to `int' in
> declaration of `_nss_winbind_setpwent'
> nsswitch/winbind_nss_config.h:70: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:71: parse error before
> "_nss_winbind_endpwent"
> nsswitch/winbind_nss_config.h:71: warning: type defaults to `int' in
> declaration of `_nss_winbind_endpwent'
> nsswitch/winbind_nss_config.h:71: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:72: parse error before
> "_nss_winbind_getpwent_r"
> nsswitch/winbind_nss_config.h:73: warning: type defaults to `int' in
> declaration of `_nss_winbind_getpwent_r'
> nsswitch/winbind_nss_config.h:73: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:74: parse error before
> "_nss_winbind_getpwuid_r"
> nsswitch/winbind_nss_config.h:75: warning: type defaults to `int' in
> declaration of `_nss_winbind_getpwuid_r'
> nsswitch/winbind_nss_config.h:75: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:76: parse error before
> "_nss_winbind_getpwnam_r"
> nsswitch/winbind_nss_config.h:77: warning: type defaults to `int' in
> declaration of `_nss_winbind_getpwnam_r'
> nsswitch/winbind_nss_config.h:77: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:79: parse error before
> "_nss_winbind_setgrent"
> nsswitch/winbind_nss_config.h:79: warning: type defaults to `int' in
> declaration of `_nss_winbind_setgrent'
> nsswitch/winbind_nss_config.h:79: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:80: parse error before
> "_nss_winbind_endgrent"
> nsswitch/winbind_nss_config.h:80: warning: type defaults to `int' in
> declaration of `_nss_winbind_endgrent'
> nsswitch/winbind_nss_config.h:80: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:81: parse error before
> "_nss_winbind_getgrent_r"
> nsswitch/winbind_nss_config.h:82: warning: `struct group' declared inside
> parameter list
> nsswitch/winbind_nss_config.h:82: warning: its scope is only this
> definition or declaration, which is probably not what you want.
> nsswitch/winbind_nss_config.h:82: warning: type defaults to `int' in
> declaration of `_nss_winbind_getgrent_r'
> nsswitch/winbind_nss_config.h:82: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:83: parse error before
> "_nss_winbind_getgrnam_r"
> nsswitch/winbind_nss_config.h:85: warning: `struct group' declared inside
> parameter list
> nsswitch/winbind_nss_config.h:85: warning: type defaults to `int' in
> declaration of `_nss_winbind_getgrnam_r'
> nsswitch/winbind_nss_config.h:85: warning: data definition has no type or
> storage class
> nsswitch/winbind_nss_config.h:86: parse error before
> "_nss_winbind_getgrgid_r"
> nsswitch/winbind_nss_config.h:88: warning: `struct group' declared inside
> parameter list
> nsswitch/winbind_nss_config.h:88: warning: type defaults to `int' in
> declaration of `_nss_winbind_getgrgid_r'
> nsswitch/winbind_nss_config.h:88: warning: data definition has no type or
> storage class
> make: *** [nsswitch/winbind_nss_solaris] Error 1
> 
> David E. Shapiro
> Senior Unix Admin
> BTi - the future of communications
> 4300 Six Forks Road, Raleigh, NC 27609
> Office # 1-919-865-6955 
> Pager # 1-800520-2354
> Fax    # 1-919-863-7340
> 
> 





More information about the samba-technical mailing list