Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2014 15:28:03 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Joe Nosay <superbisquit@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Question on struct and int within
Message-ID:  <20140312222803.GD32089@funkthat.com>
In-Reply-To: <CA%2BWntOv_PMg5BiA5e_yKhswKKEvOvyFPkAiGYvVPp6vcvfBXAw@mail.gmail.com>
References:  <CA%2BWntOv_PMg5BiA5e_yKhswKKEvOvyFPkAiGYvVPp6vcvfBXAw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Nosay wrote this message on Wed, Mar 12, 2014 at 17:56 -0400:
> Okay, I decided to rebuild the kernel with vimage and mrouting.
> New error is:
> /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
> 
> Below I can see where the up value comes in and also in the file.
> The int value seems to be what is missing. I was studying C but never made
> it that far.
> 
> 
> >From the file in question:
> 
> udp_discardcb(struct udpcb *up, int isudp)

Did you apply any custom patches?  What version are those files? (ident
is helpful here)  What version of FreeBSD are you using?

In head, there is no int arg...

More info needed, thanks...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140312222803.GD32089>