|

楼主 |
发表于 2005-3-3 10:52:42
|
显示全部楼层
多谢各位了 再次感到 sir 上面的温暖!!
Post by duleell
我是说源码打包能不能不用rar?
sorry
在xp下发的贴 折腾了几天 有点眉目了 可能没有libnet包
在网上还没下到,如果有帮忙贴一下(如果小就附件,或者告诉下载链接)
在5.3 里面进源程序包(已经解压过),胡乱看了一点点gcc
直接就用#make 结果出现:
2 -o mystar.o -c mystar.c
In file included from mystar.c:6:
mystar.h:21:20: libnet.h: No such file or directory
In file included from mystar.c:8:
sendpacket.h:11: error: syntax error before '*' token
sendpacket.h:12: error: syntax error before '*' token
sendpacket.h:13: error: syntax error before '*' token
sendpacket.h:14: error: syntax error before '*' token
sendpacket.h:15: error: syntax error before '*' token
mystar.c: In function `main':
mystar.c:47: error: `libnet_t' undeclared (first use in this function)
mystar.c:47: error: (Each undeclared identifier is reported only once
mystar.c:47: error: for each function it appears in.)
mystar.c:47: error: `l' undeclared (first use in this function)
mystar.c:49: error: `LIBNET_ERRBUF_SIZE' undeclared (first use in this function)
mystar.c:78: error: `LIBNET_LINK' undeclared (first use in this function)
mystar.c:85: warning: assignment makes pointer from integer without a cast
mystar.c: In function `sig_intr':
mystar.c:337: error: `libnet_t' undeclared (first use in this function)
mystar.c:337: error: `l' undeclared (first use in this function)
mystar.c:338: error: `LIBNET_ERRBUF_SIZE' undeclared (first use in this function)
mystar.c:342: error: `LIBNET_LINK' undeclared (first use in this function)
*** Error code 1
Stop in /usr/home/bobsummer/mystarV0.11-src. |
|