From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 18:42:49 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15F7106564A for ; Fri, 21 May 2010 18:42:49 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E25058FC1B for ; Fri, 21 May 2010 18:42:45 +0000 (UTC) Received: (qmail invoked by alias); 21 May 2010 18:42:43 -0000 Received: from 85-127-250-198.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.250.198] by mail.gmx.net (mp032) with SMTP; 21 May 2010 20:42:43 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX19ocd8snthotV+TbNY9i9Q3oZr08LMwxa/fzfsp4s DfVTHbGQgupxC3 From: Stefan Ehmann To: freebsd-multimedia@freebsd.org Date: Fri, 21 May 2010 20:42:42 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE; KDE/4.4.3; i386; ; ) References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005212042.42604.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 18:42:49 -0000 On Friday 21 May 2010 16:54:07 Torfinn Ingolfsen wrote: > Ok, I added this to cxm.h: > #undef minor > #define minor(d) ((d) ? (d)->si_drv0 : -1) > > And now I get another failure: > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc > -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 -fno-common > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 > -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -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 -c > cx25840-firmware.c cc1: warnings being treated as errors > cx25840-firmware.c: In function 'cx25840_loadfw_hp': > cx25840-firmware.c:146: warning: cast from pointer to integer of different > size *** Error code 1 Okay, another thing I forgot. Just disable -Werror: $ make WERROR= I hope that's all :)