From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 14 01:26:10 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 171A4C09 for ; Fri, 14 Mar 2014 01:26:10 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C94599A4 for ; Fri, 14 Mar 2014 01:26:09 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id x13so2176972qcv.33 for ; Thu, 13 Mar 2014 18:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4AYh4xa+vI9xAabcsHMfBZUgISQC1jaY13LzK4QxtM0=; b=noL1e4YUKQDhIU2Xv3kEDnFfFtNNc/JlcFmBpHvMlDZy0I1eCazS8p+/+FIkNquFkZ mgfUOIz3HujUvvd1UBGLyMko9iaejTfK4etOmRr6ey0hwFFY2oxCj8IN0c0Nolleqzx2 uh58h0LsKYOvL009lZMHu5znislHiqBUhE7+n9+CrgDVNHCgspP3/wzR3YSgSjgUMO8H EFtF4RWZY39xWKKy0pK5kgrdXVnpowS+hHp6QO6ROUg4rjK7N8+CkAWo6wgSEschkFQK fLbkBgTTTO0BB89ldjc/2G75gjjY5PnhzqvKjuJby8BJwIa8kTIhzWB3ScQV6PmE5xaQ GnPw== MIME-Version: 1.0 X-Received: by 10.224.88.130 with SMTP id a2mr6440001qam.55.1394760368984; Thu, 13 Mar 2014 18:26:08 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.8.137 with HTTP; Thu, 13 Mar 2014 18:26:08 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Mar 2014 18:26:08 -0700 X-Google-Sender-Auth: wN70xS5RehYsURiwey_aWHBkxTE Message-ID: Subject: Re: Definition struct and int From: Adrian Chadd To: Joe Nosay Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 01:26:10 -0000 Is this -HEAD, or? -a On 13 March 2014 18:13, Joe Nosay wrote: > 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. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"