LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 840|回复: 0

求教 不能编译安装samba

[复制链接]
发表于 2004-3-28 21:06:08 | 显示全部楼层 |阅读模式
./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,-rpath,/usr/lib  -g -O2 -I/usr/include/libxml2
      LDFLAGS = -Wl,-rpath,/usr/lib
make[1]: Entering directory `/root/samba/source'
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
为什么    赐教
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表