iudemar
(usa Slackware)
Enviado em 20/10/2010 - 08:28h
make
Samba will be compiled with flags:
CPP = gcc -E
CPPFLAGS = -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
CC = gcc
CFLAGS = -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
PICFLAG = -fPIC
LD = gcc
LDFLAGS = -Wl,--export-dynamic -L./bin/static
STLD = /usr/bin/ar
STLD_FLAGS = -rcs
SHLD = gcc
SHLD_FLAGS = -shared -Wl,-Bsymbolic -L./bin/shared
SHLIBEXT = so
srcdir = .
builddir = .
pwd = /usr/local/samba/samba-4.0.0alpha1/source
Compiling ntvfs/sysdep/inotify.c
In file included from /usr/include/asm/fcntl.h:1,
from /usr/include/linux/fcntl.h:4,
from /usr/include/linux/inotify.h:11,
from ntvfs/sysdep/inotify.c:31:
/usr/include/asm-generic/fcntl.h:94: error: redefinition of ‘struct f_owner_ex’
/usr/include/asm-generic/fcntl.h:139: error: redefinition of ‘struct flock’
/usr/include/asm-generic/fcntl.h:156: error: redefinition of ‘struct flock64’
The following command failed:
gcc -Ilib/replace -fvisibility=hidden -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -fPIC -c ntvfs/sysdep/inotify.c -o ntvfs/sysdep/inotify.o
make: ** [ntvfs/sysdep/inotify.o] Erro 1
#OBS. O pacote que estou utilizando no para install so samba4 é
samba-4.0.0alpha1, se realmente for problema no pacote eu baixo outro, mais segue o make acima
e desde ja agradeço pela ajuda de vocês, obrigado mesmo.