LinuxSir.cn,穿越时空的Linuxsir!

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

blfs 關於 nfs 需要 portman 編譯時的問題

[复制链接]
发表于 2004-1-2 19:41:34 | 显示全部楼层 |阅读模式
因為需要用到 nfs 所以要編譯 portman 但總是出錯很想請教各位大大幫忙.

cc  -DHOSTS_ACCESS -DCHECK_PORT  -DFACILITY=LOG_DAEMON  -DIGNORE_SIGCHLD            -O2  -o portmap portmap.o pmap_check.o from_local.o daemon.o strerror.o -lwrap -lnsl
strerror.o(.text+0x17): In function `strerror':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
strerror.o(.text+0xe): In function `strerror':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
portmap.o(.text+0x283): In function `main':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [portmap] Error 1

己編譯3次老出現相同的情形.
发表于 2004-1-2 23:50:52 | 显示全部楼层
 楼主| 发表于 2004-1-3 13:00:50 | 显示全部楼层
謝謝 tram 大大的幫忙.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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