Olá pessoal,
Estou com um problema, preciso da ajuda de vocês.
Tenho vários servidores com Slackware 10.2 e samba 3.0.xx, porém
preciso de suporte a Windows 7 (no mínimo samba 3.3.7). Aí nasce o meu
problema, na hora de compilar o samba o ./configure funciona sem
problemas, mas o make da erro, já tentei compilar a 3.3.14, 3.4.9 e
3.5.6 (todas dão o mesmo erro), encontrei muito pouca coisa na internet,
um post fala que é um problema do glibc 2.3.5 e pede para colocar o
mount.h de um slack mais recente (isto também não funcionou).
Este é o configure:
./configure --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc/samba
--libdir=/usr/lib/samba --includedir=/usr/include
--infodir=/usr/share/info --mandir=/usr/man --enable-cups
--with-privatedir=/etc/samba/private --with-lockdir=/var/lock/samba
--with-piddir=/var/run/samba --with-swatdir=/usr/share/swat
--with-configdir=/etc/samba --with-logfilebase=/var/log/samba
--with-ldap --with-automount --with-quotas --with-sys-quotas --with-utmp
--with-winbind --with-acl-support
Quando eu dou make, o samba começa a compilar, mas com menos de um
minuto da o seguinte erro:
Compiling ../lib/util/blocking.c
In file included from ../lib/replace/system/filesys.h:37,
from include/includes.h:81,
from ../lib/util/blocking.c:24:
/usr/include/sys/mount.h:36: error: syntax error before numeric constant
/usr/include/sys/mount.h:52: error: syntax error before numeric constant
In file included from /usr/include/sys/statfs.h:26,
from /usr/include/sys/vfs.h:4,
from ../lib/replace/system/filesys.h:45,
from include/includes.h:81,
from ../lib/util/blocking.c:24:
/usr/include/bits/statfs.h:26: error: redefinition of `struct statfs'
The following command failed:
gcc -O -I. -I/opt/samba-3.5.6/source3
-I/opt/samba-3.5.6/source3/iniparser/src -Iinclude -I./include -I. -I.
-I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./..
-DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace
-I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt
-DLDAP_DEPRECATED -I/opt/samba-3.5.6/source3/lib -I.. -I../source4
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c ../lib/util/blocking.c -o
../lib/util/blocking.o
desde já agradeço,
abraços
--
best regards
Matheus Brandão
[email protected]
Tel +55 11 3205 0992 r 5899
Cel +55 11 8931 1088
--
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
Antes de perguntar:
http://www.istf.com.br/perguntas/
Para sair da lista envie um e-mail para:
[email protected]