看看我的./configure的内容,请问需要添加什么库?
发表于 : 2009-06-26 15:08
我对ns2进行./configure之后出现以下信息,请问,我缺少的是什么库呢?该如何判断呢/
...
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -02... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
...
请问我需要再安装什么呢?
后来我直接修改makefile,make 之后提示values.h头文件找不到,我想肯定是跟上面那个库没加上去有关系。我改添加哪些内容呢?
...
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -02... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
...
请问我需要再安装什么呢?
后来我直接修改makefile,make 之后提示values.h头文件找不到,我想肯定是跟上面那个库没加上去有关系。我改添加哪些内容呢?