- 论坛徽章:
- 0
|
在RH9.0下安装Libnet-1.0.2a
./configure
make
makeinstall
后看到/usr下有libnet文件夹
当编译一个用到该库的程序的时候
提示:
/usr/include/libnet.h:87:2: #error "byte order has not been specified, you'll
need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the
documentation regarding the libnet-config script."
我打开libnet.h也看到
#if (!LIBNET_LIL_ENDIAN && !LIBNET_BIG_ENDIAN)
#error "byte order has not been specified, you'll
need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the
documentation regarding the libnet-config script."
#endif
这么一行
因为网络问题不能上google
所以在这里求助高人!!!! |
|