[Samba] Error compiling Samba 3.6.3

Stephen Elliott techweb at ntlworld.com
Sat Feb 4 11:36:04 MST 2012

Hi all,


I am running slackware 8.0, 2.4.20 with GCC  2.95.3. Old but it works J


I am trying to compile Samba 3.6.3 but get the following:


Compiling lib/sharesec.c

lib/sharesec.c: In function `delete_share_security':

lib/sharesec.c:382: incompatible types in return

The following command failed:

gcc -I../lib/zlib -O -I. -I/home/steve/samba-3.6.3/source3
-I/home/steve/samba-3.6.3/source3/../lib/iniparser/src -Iinclude -I./include
-I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./..
-I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H
-I./include -I. -I. -I./../lib/replace -I./../lib/tevent
-I./libaddns-I./librpc -I./.. -I./../lib/popt
-I/home/steve/samba-3.6.3/source3/lib -I.. -D_SAMBA_BUILD_=3
-D_SAMBA_BUILD_=3 -fPIC -c lib/sharesec.c -o lib/sharesec.o

make: *** [lib/sharesec.o] Error 1


I had to make some modifications in the Makefile (attached) to even get it
go this far.


Many Thanks
Stephen Elliott

More information about the samba mailing list