Package: netdude Version: 0.3.3-2 Severity: serious Tags: patch When building 'netdude' on unstable, I get the following error:
rm -f .libs/nd_fddi_callbacks.lo gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../.. -I../../libltdl -I../../include -W -Wall -g -O2 -c nd_fddi_callbacks.c -MT nd_fddi_callbacks.lo -MD -MP -MF .deps/nd_fddi_callbacks.TPlo -fPIC -DPIC -o .libs/nd_fddi_callbacks.lo In file included from /usr/include/linux/netdevice.h:28, from /usr/include/linux/if_fddi.h:27, from /usr/include/netinet/if_fddi.h:26, from nd_fddi_callbacks.c:25: /usr/include/linux/if.h:139: error: field 'ifru_addr' has incomplete type /usr/include/linux/if.h:140: error: field 'ifru_dstaddr' has incomplete type /usr/include/linux/if.h:141: error: field 'ifru_broadaddr' has incomplete type /usr/include/linux/if.h:142: error: field 'ifru_netmask' has incomplete type /usr/include/linux/if.h:143: error: field 'ifru_hwaddr' has incomplete type make[4]: *** [nd_fddi_callbacks.lo] Error 1 make[4]: Leaving directory `/netdude-0.3.3/protocols/fddi' With the attached patch 'netdude' can be compiled on unstable. Regards Andreas Jochens diff -urN ../tmp-orig/netdude-0.3.3/protocols/fddi/nd_fddi_callbacks.c ./protocols/fddi/nd_fddi_callbacks.c --- ../tmp-orig/netdude-0.3.3/protocols/fddi/nd_fddi_callbacks.c 2002-09-19 18:26:28.000000000 +0000 +++ ./protocols/fddi/nd_fddi_callbacks.c 2005-08-24 17:46:43.000000000 +0000 @@ -22,6 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include <sys/socket.h> #include <netinet/if_fddi.h> #include <netdude/nd_debug.h> diff -urN ../tmp-orig/netdude-0.3.3/protocols/icmp/nd_icmp.c ./protocols/icmp/nd_icmp.c --- ../tmp-orig/netdude-0.3.3/protocols/icmp/nd_icmp.c 2002-11-08 17:17:18.000000000 +0000 +++ ./protocols/icmp/nd_icmp.c 2005-08-24 17:47:10.000000000 +0000 @@ -332,8 +332,6 @@ case 10: nd_icmp_set_gui_data(pinf, icmphdr, packet); break; - - default: } } @@ -463,8 +461,6 @@ return ((guchar *) icmphdr + 8 + icmphdr_adv->un.adv.num_addr * 8 <= nd_packet_get_end(packet)); } - - default: } return FALSE; diff -urN ../tmp-orig/netdude-0.3.3/protocols/icmp/nd_icmp_callbacks.c ./protocols/icmp/nd_icmp_callbacks.c --- ../tmp-orig/netdude-0.3.3/protocols/icmp/nd_icmp_callbacks.c 2002-09-19 18:40:51.000000000 +0000 +++ ./protocols/icmp/nd_icmp_callbacks.c 2005-08-24 17:47:22.000000000 +0000 @@ -76,8 +76,6 @@ redirect_menu = nd_gui_create_menu(icmp_menu_redirect_code_data); gtk_menu_popup(GTK_MENU(redirect_menu), NULL, NULL, NULL, NULL, 0, 0); return; - - default: } nd_dialog_number(_("Enter ICMP code:"), -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]