problems with compiling samba for solaris x86

Tomek Jarosinski jarosins at
Wed Nov 5 21:43:09 GMT 1997


I am trying to compile samba-1.9.18alpha11 with Sun native c compiler on
Solaris x86. I am getting those errors:

"./smb.h", line 535: major: argument mismatch
"./smb.h", line 536: minor: argument mismatch
"./smb.h", line 535: syntax error before or at: int
"./smb.h", line 535: warning: syntax requires ";" after last
struct/union member
"./smb.h", line 544: zero-sized struct/union
"./smb.h", line 544: cannot recover from previous errors
cc: acomp failed for util.c
*** Error code 2
make: Fatal error: Command failed for target `util.o'

I compiled samba-1.9.17px without any problems.

Does anybody has idea what is going on ?
Should i use gnu c instead of Sun C-compiler ?

Greetings, Tomek

More information about the samba mailing list