源码运行
- 源码地址
- 修改的地方有
- 在
/lib/unp.h
添加了:
#ifndef OPEN_MAX
#define OPEN_MAX 1024
#endif
#ifndef AF_LINK
#define AF_LINK 18
#endif
- 在
/usr/include/net
目录下添加了文件if_dl.h,if_dl.h内容为:if_dl.h
- readme
由于自己是ubuntu系统,因此只需要在enpv13e目录下运行以下指令:
//在enpv13e目录下运行
./configure # try to figure out all implementation differences
cd lib # build the basic library that all programs need
make # use "gmake" everywhere on BSD/OS systems
cd ../libfree # continue building the basic library
make