I just downloaded Samba 1.9.18p3. I tried make command, and I got the
following error. Can anyone help? I have included some system
information.
Machine Arch: Intel
Machine OS: Solaris
OS Version: 2.6
Compiler: Sun Workshop Compiler C 4.2 (cc)
Libc version:
----------------------------------------------
bash-2.01# /usr/ccs/bin/make -f Makefile
Using CFLAGS = -O -DSMBLOGFILE="/opt/samba/var/log.smb"
-DNMBLOGFILE="/opt/samba/var/log.nmb" -DCONFIG
FILE="/opt/samba/lib/smb.conf"
-DLMHOSTSFILE="/opt/samba/lib/lmhosts"
-DWEB_ROOT="/opt/samba" -DLOCKDI
R="/opt/samba/var/locks" -DSMBRUN="/opt/samba/bin/smbrun"
-DCODEPAGEDIR="/opt/samba/lib/codepages" -DW
ORKGROUP="ENGINEERING" -DGUEST_ACCOUNT="nobody"
-DDRIVERFILE="/opt/samba/lib/printers.def" -DSUNOS5 -D
SHADOW_PWD -DNETGROUP -DFAST_SHARE_MODES
-DSMB_PASSWD="/opt/samba/bin/smbpasswd" -DSMB_PASSWD_FI
LE="/opt/samba/private/smbpasswd"
Using LIBS = -lsocket -lnsl
Compiling util.c
"/usr/include/sys/termios.h", line 38: macro CTRL redefines previous
macro at "/usr/ucbinclude/sys/tty
chars.h", line 65
"/usr/include/sys/termios.h", line 160: macro CINTR redefines previous
macro at "/usr/ucbinclude/sys/t
tychars.h", line 71
"/usr/include/sys/termios.h", line 163: macro CKILL redefines previous
macro at "/usr/ucbinclude/sys/t
tychars.h", line 70
"/usr/include/sys/termios.h", line 164: macro CEOT redefines previous
macro at "/usr/ucbinclude/sys/tt
ychars.h", line 76
"/usr/include/sys/termios.h", line 167: macro CEOF redefines previous
macro at "/usr/ucbinclude/sys/tt
ychars.h", line 75
"/usr/include/sys/termios.h", line 168: macro CSTART redefines
previous
macro at "/usr/ucbinclude/sys/
ttychars.h", line 73
"/usr/include/sys/termios.h", line 169: macro CSTOP redefines previous
macro at "/usr/ucbinclude/sys/t
tychars.h", line 74
"/usr/include/sys/termios.h", line 172: macro CSUSP redefines previous
macro at "/usr/ucbinclude/sys/t
tychars.h", line 78
"/usr/include/sys/termios.h", line 173: macro CDSUSP redefines
previous
macro at "/usr/ucbinclude/sys/
ttychars.h", line 79
"/usr/include/sys/termios.h", line 174: macro CRPRNT redefines
previous
macro at "/usr/ucbinclude/sys/
ttychars.h", line 80
"/usr/include/sys/termios.h", line 175: macro CFLUSH redefines
previous
macro at "/usr/ucbinclude/sys/
ttychars.h", line 81
"/usr/include/sys/termios.h", line 176: macro CWERASE redefines
previous
macro at "/usr/ucbinclude/sys
/ttychars.h", line 82
"/usr/include/sys/termios.h", line 177: macro CLNEXT redefines
previous
macro at "/usr/ucbinclude/sys/
ttychars.h", line 83
"/usr/include/sys/termios.h", line 219: macro NL0 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 84
"/usr/include/sys/termios.h", line 220: macro NL1 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 85
"/usr/include/sys/termios.h", line 222: macro CR0 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 94
"/usr/include/sys/termios.h", line 223: macro CR1 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 95
"/usr/include/sys/termios.h", line 224: macro CR2 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 96
"/usr/include/sys/termios.h", line 225: macro CR3 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 97
"/usr/include/sys/termios.h", line 227: macro TAB0 redefines previous
macro at "/usr/ucbinclude/sys/io
ctl.h", line 89
"/usr/include/sys/termios.h", line 228: macro TAB1 redefines previous
macro at "/usr/ucbinclude/sys/io
ctl.h", line 90
"/usr/include/sys/termios.h", line 229: macro TAB2 redefines previous
macro at "/usr/ucbinclude/sys/io
ctl.h", line 91
"/usr/include/sys/termios.h", line 234: macro XTABS redefines previous
macro at "/usr/ucbinclude/sys/i
octl.h", line 92
"/usr/include/sys/termios.h", line 239: macro BS0 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 102
"/usr/include/sys/termios.h", line 240: macro BS1 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 103
"/usr/include/sys/termios.h", line 245: macro FF0 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 99
"/usr/include/sys/termios.h", line 246: macro FF1 redefines previous
macro at "/usr/ucbinclude/sys/ioc
tl.h", line 100
"/usr/include/sys/termios.h", line 295: macro ECHO redefines previous
macro at "/usr/ucbinclude/sys/io
ctl.h", line 77
"/usr/include/sys/termios.h", line 299: macro NOFLSH redefines
previous
macro at "/usr/ucbinclude/sys/
ioctl.h", line 121
"/usr/include/sys/termios.h", line 300: macro TOSTOP redefines
previous
macro at "/usr/ucbinclude/sys/
ioctl.h", line 112
"/usr/include/sys/termios.h", line 307: macro FLUSHO redefines
previous
macro at "/usr/ucbinclude/sys/
ioctl.h", line 113
"/usr/include/sys/termios.h", line 308: macro PENDIN redefines
previous
macro at "/usr/ucbinclude/sys/
ioctl.h", line 119
"/usr/include/sys/unistd.h", line 197: macro _PC_LAST redefines
previous
macro at "/usr/ucbinclude/uni
std.h", line 89
"./smb.h", line 542: major: argument mismatch
"./smb.h", line 543: minor: argument mismatch
"./smb.h", line 542: syntax error before or at: int
"./smb.h", line 542: warning: syntax requires ";" after last
struct/union member
"./smb.h", line 551: zero-sized struct/union
"./smb.h", line 551: cannot recover from previous errors
cc: acomp failed for util.c
*** Error code 2
make: Fatal error: Command failed for target `util.o'
-----------------------------