珞珈山水BBS电脑网络BBS安装与维护 → 单文区文章阅读

单文区文章阅读 [返回]
发信人: mondory@smth.org (来临), 信区: BBSDev
标  题: 为什么说inet_aton这个标识符没有定义?
发信站: BBS 水木清华站 (Thu Mar 13 16:53:16 2003)
转信站: WHU!news.tiaozhan.com!maily.cic.tsinghua.edu.cn!SMTH

我在Solaris 8下安装smthbbs-1。0。1出现如下错误:
Undefined                       first referenced
 symbol                             in file
flock                               bbs.o
inet_aton                           ucache.o
inet_ntoa                           bbsd_single.o  (symbol belongs to implic
it dependency /usr/lib/libnsl.so.1)
isblank                             more.o
ld: fatal: Symbol referencing errors. No output written to bbsd
collect2: ld returned 1 exit status
make[2]: *** [bbsd] Error 1
make[2]: Leaving directory `/export/home/smthbbs-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/smthbbs-1.0.1'
make: *** [all] Error 2

我在系统目录里找到arpa/inet.h有此函数的定义。加上后还是有这个错误。为什么?

--

※ 来源:·BBS 水木清华站 smth.org·[FROM: 211.68.0.8]
[返回单文区目录]

武汉大学BBS 珞珈山水站 All rights reserved.
wForum , 页面执行时间:8.359毫秒