[Samba] Building Source 4 Alpha 11
Stuart Wehrly
swehrly at gdeb.com
Mon Jan 11 12:50:16 MST 2010
Greetings,
I'm trying test Samba 4's AD. I can build the source 3 tree, but I'm
experiencing issues building the source 4 . Below is a snippet of the
make output when compiling with the below configure options. I have gnu
make 3.81 and gcc 4.4.2 installed.
Configure options:
--enable-debug
--enable-developer
--prefix=/usr/local
--enable-fhs
Samba will be compiled with flags:
CPP = gcc4 -E
CPPFLAGS = -I./include -I. -I./lib -I./../lib/replace
-I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
CC = gcc4
CFLAGS = -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow
-Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith
-Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute
-Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k
-Wno-unused-parameter
PICFLAG = -fPIC
BNLD = gcc4
BNLD_FLAGS = -Wl,--export-dynamic
STLD = /usr/bin/ar
STLD_FLAGS = -rcs
SHLD = gcc4
SHLD_FLAGS = -shared -Wl,-Bsymbolic
MDLD = gcc4
MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined
SHLIBEXT = so
srcdir = .
builddir = .
pwd = /storage/LSP4/contrib/samba/samba-4.0.0alpha11/source4
Compiling ../lib/util/unix_privs.c
../lib/util/unix_privs.c: In function 'privileges_destructor':
../lib/util/unix_privs.c:54: error: implicit declaration of function
'uwrap_geteuid'
../lib/util/unix_privs.c:55: error: implicit declaration of function
'uwrap_seteuid'
The following command failed:
gcc4 -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow
-Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith
-Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute
-Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k
-Wno-unused-parameter -I../lib/talloc -Ilib/replace -fPIC -I./include
-I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4
-DHAVE_CONFIG_H -c ../lib/util/unix_privs.c -o ../lib/util/unix_privs.o
make: *** [../lib/util/unix_privs.o] Error 1
Any help would be appreciated.
Thanks!
Stuart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 43409 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100111/851a577a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 31600 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100111/851a577a/attachment-0001.obj>
More information about the samba-technical
mailing list