When compiling on Slackware, kernel version 2.2.13, I get the following error:
smbd/statvfs.c: In function `linux_statvfs':
smbd/statvfs.c:40: incompatible types in assignment
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
*** This bug has been marked as a duplicate of 716 ***
Closed by accident.
Created attachment 2020 [details]
Patch from Revision 16837
Can you try the attached patch?
Forgive my ignorance, but how do I apply this patch?
You should download the file, change to you source directory and do a
patch -p0 <patchfile
The patch fixed the compile error, now I am getting a link error:
auth/auth.o: In function `load_auth_module':
auth/auth.o(.text+0xd8d): undefined reference to `auth_script_init'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
Created attachment 2042 [details]
config & make logs
config & make logs showing link error
The same problem here on SUSE 7.1 (gcc 3.4.6 (custom), glibc 2.2, kernel 2.4) and the patch fixed it.
Fixed. The auth_script error has been fixed as well.
I'm still seeing this issue with Samba 3.0.24. Looks like the fix didn't get applied.
3.0.24 was a tiny patch to fix 3 security problems. Nothing else went it, sorry.