求教 不能编译安装samba

由 wss12cn 在 03-28-2004 21:06 发表:

求教 不能编译安装samba

./configure 后

执行make

出现

WARNING: you need to rerun ./autogen.sh

Using FLAGS = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.

FLAGS32 = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.

LIBS = -lcrypt -lresolv -lnsl -ldl

LDSHFLAGS = -shared -Wl,-rpath,/usr/lib -g -O2 -I/usr/include/libxml2

LDFLAGS = -Wl,-rpath,/usr/lib

make[1]: Entering directory `/root/samba/source'

WARNING: you need to rerun ./autogen.sh

make[1]: Leaving directory `/root/samba/source'

Compiling dynconfig.c

In file included from include/includes.h:874,

from dynconfig.c:21:

include/proto.h:1279: error: conflicting types for `krb5_set_password'

/usr/include/krb5.h:1883: error: previous declaration of `krb5_set_password'

make: *** [dynconfig.o] Error 1

于是我执行./autogen.sh

之后

再./configure

make

还是出现

Using FLAGS = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.

FLAGS32 = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.

LIBS = -lcrypt -lresolv -lnsl -ldl

LDSHFLAGS = -shared -Wl,-rpa

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus