From owner-freebsd-current@FreeBSD.ORG Wed Aug 17 01:56:06 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C6C71065672 for ; Wed, 17 Aug 2011 01:56:06 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 59F948FC13 for ; Wed, 17 Aug 2011 01:56:06 +0000 (UTC) Received: by yib19 with SMTP id 19so494454yib.13 for ; Tue, 16 Aug 2011 18:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=2LS7Dv5QuAvQsDj5gkOBRF5czpJ0DgpFB4+Big+IMsY=; b=MP+Vnz8vY5N9vlpDTNq+GyTGmZdLosyWAdvYJ8lqfKX3zLqKGEFY/8Z8Fk74D83xWt HHgqQEYHD12b9bCsZnZ5EAFCt+p+V31soDzsX5RYj1Q7T3rhRxsXxBC0UrjBlRcrZLVP CG9AVD2t5zHpIFlg3LEH8/oyzr5hMz9DAgRWY= Received: by 10.42.136.199 with SMTP id v7mr308063ict.81.1313546165406; Tue, 16 Aug 2011 18:56:05 -0700 (PDT) Received: from [10.2.3.100] (drawbridge.ixsystems.com [206.40.55.65]) by mx.google.com with ESMTPS id y14sm194686ibf.62.2011.08.16.18.56.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 18:56:03 -0700 (PDT) References: <4e4ab684.0c4c970a.68e8.6846SMTPIN_ADDED@mx.google.com> In-Reply-To: <4e4ab684.0c4c970a.68e8.6846SMTPIN_ADDED@mx.google.com> Mime-Version: 1.0 (iPhone Mail 8L1) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-2022-jp Message-Id: <9A6F7C9D-32D8-4387-BB03-B11CB0A91BFA@gmail.com> X-Mailer: iPhone Mail (8L1) From: Garrett Cooper Date: Tue, 16 Aug 2011 18:55:57 -0700 To: Ivan Klymenko Cc: "freebsd-current@freebsd.org" , Alvaro Castillo Subject: Re: x11/nvidia-driver / Compilation has failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 01:56:06 -0000 On Aug 16, 2011, at 11:26 AM, Ivan Klymenko wrote: > В Tue, 16 Aug 2011 19:23:06 +0100 > Alvaro Castillo пишет: > >> I try to compile a x11/nvidia-driver and give this error. >> >> ===> Building for nvidia-driver-270.41.19 >> ===> src (all) >> cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"270.41.19\" >> -D__KERNEL__ -DNVRM -Wno-unused-function -O -mno-red-zone >> -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL >> -DKLD_MODULE -nostdinc >> -I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19/src >> -I. -I@ -I@/contrib/altq -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 -fno-common >> -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone >> -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding >> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef >> -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs >> -fdiagnostics-show-option -c nvidia_linux.c >> cc1: warnings being treated as errors >> nvidia_linux.c: In function 'linux_ioctl_nvidia': >> nvidia_linux.c:42: warning: passing argument 3 of 'fget' makes integer >> from pointer without a cast >> nvidia_linux.c:42: error: too few arguments to function 'fget' >> *** Error code 1 >> >> Stop >> in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19/src. >> *** Error code 1 >> >> Stop >> in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19. >> *** Error code 1 >> >> Stop in /usr/ports/x11/nvidia-driver. >> *** Error code 1 >> >> uname -a: >> FreeBSD shuttle0.lan 9.0-BETA1 FreeBSD 9.0-BETA1 #2: Mon Aug 8 >> 17:05:59 WEST 2011 >> netSys@shuttle0.lan:/usr/obj/usr/src/sys/HYDROGEN amd64 >> >> Ports has been updated since 19:20 (GMT0) >> >> Step to reproduce: >> # cd /usr/ports/x11/nvidia-driver >> # make >> >> Options to compile: (From make config command) >> >> WITH_FREEBSD_AGP=yes >> WITH_ACPI_PM=yes >> WITHOUT_LINUX=no >> WITH_WBINVD=no >> > > http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026533.html Thanks for the reminder. I'll submit a patch to fix this to danfe tonight. Cheers, -Garrett