From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 14 01:13:15 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 455C884A for ; Fri, 14 Mar 2014 01:13:15 +0000 (UTC) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 125138CB for ; Fri, 14 Mar 2014 01:13:15 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id j17so1875955oag.26 for ; Thu, 13 Mar 2014 18:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=F0GRIAoyt8gdV5nPMmx2vBhztStg/iDl/73TdloaJz0=; b=zRxGOSPUydcVyz5Z1KBXrXRjaSWfkHquCaQTrGzitoHSOC8iJgEQyLc/G2DGPx4POY GNOWYyG7B+ZQU6vA7dc89uyoxEKqCZ7amO12Gh5Oit4rIEkh/e73LJGmv0H95VyzWKG8 /Z5n2ikyMjAny6eaxRT+kvuU4pCJUxfEfYwsGBeSlWUxMwV7Ua3gMFFajSV358ET4NZY SPmfNC/e+l7i5jwvPjV9kbW/IND902NEetOBmqigKu+gHECRlJnucACCnST99tuaPeP1 RDTTbXR8pUHwiOk7IpO45May/9CT+ecGPXj1vi1SZrVjo2HnqbS98lERVbBu2UaM420V FiGA== MIME-Version: 1.0 X-Received: by 10.60.145.225 with SMTP id sx1mr4079721oeb.30.1394759594359; Thu, 13 Mar 2014 18:13:14 -0700 (PDT) Received: by 10.182.130.71 with HTTP; Thu, 13 Mar 2014 18:13:14 -0700 (PDT) Date: Thu, 13 Mar 2014 21:13:14 -0400 Message-ID: Subject: Definition struct and int From: Joe Nosay To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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:13:15 -0000 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.