smbwrapper build fails on Solaris 2.7

Mike Box mbox at
Wed Oct 11 17:21:05 GMT 2000

Attempting to build smbwrapper on a Solaris 2.7 box using Sun's 
(SUNWspro/bin/cc) compiler fails as noted below.  Any ideas and/or sugggestions?

make smbwrapper
. . .
. . .
Compiling smbwrapper/wrapped.c with -Kpic
"smbwrapper/wrapped.c", line 466: identifier redeclared: utimes
        current : function(pointer to char, pointer to void) returning int
        previous: function(pointer to const char, pointer to const struct 
timeval {long tv_sec, long tv_usec}) returning int : "/usr/include/sys/time.h", 
line 327
cc: acomp failed for smbwrapper/wrapped.c
*** Error code 2
make: Fatal error: Command failed for target `smbwrapper/wrapped.po'

Thanks, in advance, for your help.

Mike Box                       Phone: (540)231-9506
Systems Administrator            Fax: (540)231-3863
Department of Statistics      E-mail: Mike.Box at
Virginia Tech

More information about the samba mailing list