LinuxSir.cn,穿越时空的Linuxsir!

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

samba安装出错

[复制链接]
发表于 2007-6-26 16:07:36 | 显示全部楼层 |阅读模式
lib/iconv.c: In function `smb_iconv_open':
lib/iconv.c:218: warning: assignment makes pointer from integer without a cast
lib/iconv.c:219: warning: assignment makes pointer from integer without a cast
Compiling nsswitch/wb_client.c
nsswitch/wb_client.c: In function `winbind_idmap_dump_maps':
nsswitch/wb_client.c:424: warning: assignment makes pointer from integer without a cast
Compiling nsswitch/wb_common.c
nsswitch/wb_common.c: In function `winbind_named_pipe_sock':
nsswitch/wb_common.c:175: storage size of `sunaddr' isn't known
The following command failed:
gcc -I. -I/opt/samba-3.0.25/source -I/usr/kerberos/include -O -D_SAMBA_BUILD_=3 -I/opt/samba-3.0.25/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/kerberos/include -DLDAP_DEPRECATED -I/opt/samba-3.0.25/source/lib -D_SAMBA_BUILD_=3 -fPIC -c nsswitch/wb_common.c -o nsswitch/wb_common.o
make: *** [nsswitch/wb_common.o] Error 1
[root@localhost source]#


使用tar xvzf samba-3.0.25.tar.gz,正常解压
然后按其官方网站的说法,
#cd samba-3.0.25
#cd source
#./autogen.sh
#./configure
完成后,执行
#make
然后出现以上显示,不知道那里出的问题?

请各位大侠指教一下.....谢谢了
 楼主| 发表于 2007-6-26 16:08:26 | 显示全部楼层

samba应该如何更新

准备将samba升级,安装samba-3.0.10.tar.gz,不知道应如何操作:
比如老版本如何删除(RH9.0自带的),新版本如何装及安装位置,如何重新设置等?


请各位大侠指教一下.....谢谢了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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