Date: Thu, 13 Mar 2014 21:13:14 -0400 From: Joe Nosay <superbisquit@gmail.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Definition struct and int Message-ID: <CA%2BWntOtT_SfQ4KRLyaWSQ8g-kkq3P7-YkJR7siqUZYAb-WtYTQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Testing of a patch for using UDP Lite on FreeBSD caused no compilation errors; however, after adding the options of "VIMAGE" and "MROUTING" to conf/kern?GENERIC, make buildkernel stops with: /usr/src/sys/netinet/udp_usrreq.c:1701:18: error: too few arguments to function call, expected 2, have 1 udp_discardcb(up); ~~~~~~~~~~~~~ ^ /usr/src/sys/netinet/udp_usrreq.c:274:1: note: 'udp_discardcb' declared here void ^ 1 error generated. *** Error code 1 The file in question of /usr/src/sys/netinet/udp_usrreq.c has the value of udp_discardcb(struct udpcb *up, int isudp) that is causing the problem. I believe that the compiler is looking for a value to int isudp but that value does not exist.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BWntOtT_SfQ4KRLyaWSQ8g-kkq3P7-YkJR7siqUZYAb-WtYTQ>