Netpoke 問題

看板FreeBSD作者時間20年前 (2005/05/26 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
xxx# cd NetPoke xxx# make gcc -O -pipe -mcpu=pentiumpro -L /usr/lib -L /usr/lib netpoke.c -o netpoke In file included from /usr/include/libnet.h:98, from netpoke.c:37: /usr/include/libnet/libnet-headers.h:642: error: duplicate member `ip_v' /usr/include/libnet/libnet-headers.h:643: error: duplicate member `ip_hl' /usr/include/libnet/libnet-headers.h:1030: error: duplicate member `isl_user' /usr/include/libnet/libnet-headers.h:1031: error: duplicate member `isl_type' /usr/include/libnet/libnet-headers.h:1464: error: duplicate member `th_off' /usr/include/libnet/libnet-headers.h:1465: error: duplicate member `th_x2' /usr/include/libnet/libnet-headers.h:1546: error: duplicate member `vrrp_t' /usr/include/libnet/libnet-headers.h:1547: error: duplicate member `vrrp_v' netpoke.c:40:23: gmt2local.c: No such file or directory netpoke.c:212: warning: `struct libnet_link_int' declared inside parameter lis t netpoke.c:212: warning: its scope is only this definition or declaration, whic h is probably not what you want netpoke.c: In function `send_timing_packet': netpoke.c:214: error: `ETH_H' undeclared (first use in this function) netpoke.c:214: error: (Each undeclared identifier is reported only once netpoke.c:214: error: for each function it appears in.) netpoke.c:214: error: `IP_H' undeclared (first use in this function) netpoke.c:214: error: `TCP_H' undeclared (first use in this function) netpoke.c:233: error: too few arguments to function `libnet_build_ethernet' netpoke.c:261: error: too few arguments to function `libnet_build_tcp' netpoke.c:263: error: too few arguments to function `libnet_do_checksum' netpoke.c:264: warning: passing arg 2 of `libnet_do_checksum' makes pointer fr om integer without a cast netpoke.c:264: error: too few arguments to function `libnet_do_checksum' netpoke.c: In function `main': netpoke.c:482: warning: passing arg 1 of `libnet_select_device' from incompati ble pointer type netpoke.c:482: error: too many arguments to function `libnet_select_device' netpoke.c:486: warning: assignment makes pointer from integer without a cast netpoke.c:491: warning: assignment makes pointer from integer without a cast netpoke.c:494: warning: assignment makes pointer from integer without a cast netpoke.c:562: warning: passing arg 1 of `send_timing_packet' from incompatibl e pointer type *** Error code 1 Stop in /home/xxx/NetPoke. 不知道有沒有人知道為什麼會這樣!? 是因為找不到檔案嗎!? -- ╭──── bbs.csie.mcu.edu.tw ───────────╮ 走吧!!! The First IPv6 Ready BBS ~~~*歡迎光臨*~~~ ● ● 神話 From: 163.25.138.54 /> ╰──────────────────────────╯ || |﹨
文章代碼(AID): #12bItZ00 (FreeBSD)
文章代碼(AID): #12bItZ00 (FreeBSD)