Compilation Problem Under Solaris

Tod Thomas tthomas at
Fri May 28 14:26:11 GMT 1999

I'm having a problem getting Samba v2.0.4b to compile under Solaris
v2.6.  I'm using gcc v2.8.1 and am getting the results below.  Any ideas

Thanks - Tod

Using LIBS = -lsec -lsocket -lnsl -ldl
Compiling smbd/server.c
Compiling smbd/files.c
smbd/files.c: In function `fd_get_already_open':
smbd/files.c:127: invalid operands to binary ==
smbd/files.c:131: aggregate value used where a float was expected
smbd/files.c: In function `fd_get_new':
smbd/files.c:161: cast to union type from type not present in union
smbd/files.c: In function `file_find_dit':
smbd/files.c:262: invalid operands to binary ==
smbd/files.c: In function `file_find_di_first':
smbd/files.c:287: invalid operands to binary ==
smbd/files.c: In function `file_find_di_next':
smbd/files.c:306: invalid operands to binary ==
*** Error code 1
make: Fatal error: Command failed for target `smbd/files.o'

More information about the samba mailing list