[Samba] Odd make error

Tommy.Fallsen at kongsberg.com Tommy.Fallsen at kongsberg.com
Wed Oct 6 06:59:07 GMT 2004


Im building Samba 3.0.7 on Solaris 8. Using Forte 6 Update 2 and GNU make 3.80. 
gmake runs fine until it failes at nsswitch/libnss_wins.so. Running gmake again won't
help. SUN make manages to get the job done. Anyone seen this before?

Compiling lib/secace.c with -KPIC
Compiling lib/secacl.c with -KPIC
Compiling lib/dummysmbd.c with -KPIC
Compiling libads/kerberos.c with -KPIC
"libads/kerberos.c", line 84: warning: argument #4 is incompatible with prototype:
        prototype: pointer to char : "/opt/krb5/include/krb5.h", line 2471
        argument : pointer to const char
Compiling libads/ads_status.c with -KPIC
Linking nsswitch/libnss_wins.so
ld: fatal: file dynconfig.po.o: cannot open file: No such file or directory
ld: fatal: file lib/version.po.o: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to nsswitch/libnss_wins.so
gmake: *** [nsswitch/libnss_wins.so] Error 1
root at sun436 /export/samba-3.0.7/source#gmake
Using FLAGS =  -O -I./popt -Iinclude -I/export/samba-3.0.7/source/include -I/export/samba-3.0.7/source/ubiqx -I/export/samba-3.0.7/source/smbwrapper  -I. -I/opt/krb5/include -I/opt/gnu/include -I/opt/Openldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/export/samba-3.0.7/source    
      LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
      LDSHFLAGS = -G -O  -L/opt/krb5/lib -L/opt/Openldap/lib -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/Openldap/lib -R/opt/krb5/lib
      LDFLAGS = -L/opt/krb5/lib -L/opt/Openldap/lib -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/Openldap/lib -R/opt/krb5/lib
Compiling dynconfig.po.c with -KPIC
Compiling lib/version.po.c with -KPIC
Linking nsswitch/libnss_wins.so
ld: fatal: file dynconfig.po.o: cannot open file: No such file or directory
ld: fatal: file lib/version.po.o: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to nsswitch/libnss_wins.so
gmake: *** [nsswitch/libnss_wins.so] Error 1
root at sun436 /export/samba-3.0.7/source#make
Using FLAGS =  -O -I./popt -Iinclude -I/export/samba-3.0.7/source/include -I/export/samba-3.0.7/source/ubiqx -I/export/samba-3.0.7/source/smbwrapper  -I. -I/opt/krb5/include -I/opt/gnu/include -I/opt/Openldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/export/samba-3.0.7/source   
      LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
      LDSHFLAGS = -G -O  -L/opt/krb5/lib -L/opt/Openldap/lib -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/Openldap/lib -R/opt/krb5/lib
      LDFLAGS = -L/opt/krb5/lib -L/opt/Openldap/lib -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/Openldap/lib -R/opt/krb5/lib
Compiling dynconfig.c with -KPIC
Compiling lib/version.c with -KPIC
Linking nsswitch/libnss_wins.so
Compiling libsmb/libsmbclient.c with -KPIC
Compiling libsmb/libsmb_compat.c with -KPIC
Compiling libsmb/libsmb_cache.c with -KPIC
Compiling rpc_client/cli_lsarpc.c with -KPIC
Compiling rpc_client/cli_samr.c with -KPIC
"rpc_client/cli_samr.c", line 1453: warning: argument #1 is incompatible with prototype:
        prototype: pointer to char : "include/proto.h", line 2195
        argument : pointer to unsigned char
"rpc_client/cli_samr.c", line 1462: warning: argument #1 is incompatible with prototype:
        prototype: pointer to char : "include/proto.h", line 2195
        argument : pointer to unsigned char
"rpc_client/cli_samr.c", line 1478: warning: argument #4 is incompatible with prototype:
        prototype: pointer to const char : "include/proto.h", line 5070
        argument : pointer to unsigned char
"rpc_client/cli_samr.c", line 1478: warning: argument #6 is incompatible with prototype:
        prototype: pointer to const char : "include/proto.h", line 5070
        argument : pointer to unsigned char
Compiling rpc_client/cli_netlogon.c with -KPIC




Tommy Fallsen
System Administrator
Kongsberg Defence & Aerospace
+47 930 57 326


More information about the samba mailing list