I cannot compile Samba 3.0.6 on Solaris 9, I have read many bug report. Here is my config.: % gcc -v Reading specs from /usr/local_8/opt/gcc-3.3/bin/../lib/gcc-lib/sparc-sun- solaris2.8/3.3/specs Configured with: ./configure --prefix=/usr/local/opt/gcc-3.3 --site=GRM- Polytechnique Thread model: posix gcc version 3.3 path = /usr/local_8/opt/gcc-3.3/bin /usr/bin /usr/sbin /usr/5bin /usr/ccs/bin /usr/openwin/bin /usr/local_9/bin /usr/local_8/bin % ./configure --prefix=/usr/local_9/opt/samba-3.0.6 --with- lockdir=/var/lock/samba --with-configdir=/usr/local_9/opt/sa mba-3.0.6/etc --with-smbwrapper --with-automount --with-syslog It goes all well untill Compiling utils/ntlm_auth_diagnostics.c /samba-3.0.6/source % make Using FLAGS = -O -Iinclude -I/samba-3.0.6/source/include -I/samba- 3.0.6/source/ubiqx -I/samba-3.0.6/source/smbwrapper -I. -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/samba-3.0.6/source LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G LDFLAGS = Compiling utils/ntlm_auth_diagnostics.c utils/ntlm_auth_diagnostics.c: In function `test_lm_ntlm_broken': utils/ntlm_auth_diagnostics.c:61: error: invalid initializer utils/ntlm_auth_diagnostics.c:103: error: incompatible types in assignment utils/ntlm_auth_diagnostics.c: In function `test_ntlm_in_lm': utils/ntlm_auth_diagnostics.c:182: error: invalid initializer utils/ntlm_auth_diagnostics.c:202: error: incompatible types in assignment utils/ntlm_auth_diagnostics.c: In function `test_ntlm_in_both': utils/ntlm_auth_diagnostics.c:250: error: invalid initializer utils/ntlm_auth_diagnostics.c:273: error: incompatible types in assignment utils/ntlm_auth_diagnostics.c: In function `test_lmv2_ntlmv2_broken': utils/ntlm_auth_diagnostics.c:320: warning: passing arg 1 of `NTLMv2_generate_names_blob' makes pointer from integer without a cast utils/ntlm_auth_diagnostics.c:320: warning: passing arg 2 of `NTLMv2_generate_names_blob' makes pointer from integer without a cast utils/ntlm_auth_diagnostics.c:323: error: invalid initializer utils/ntlm_auth_diagnostics.c:364: error: incompatible types in assignment utils/ntlm_auth_diagnostics.c: In function `test_plaintext': utils/ntlm_auth_diagnostics.c:508: error: incompatible types in assignment *** Error code 1 make: Fatal error: Command failed for target `utils/ntlm_auth_diagnostics.o' Thank you. Réjean
this seems ok on Solaris 9 x86 with gcc 3.4 (tested Samba 3.0.8pre2)
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.