Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 16:54:07 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: usleep's pvrxxx  port and FreeBSD 8.0-stable
Message-ID:  <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no>
References:  <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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

Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm.
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm.
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx.

Hmm, this isn't easy.
-- 
Torfinn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100521165407.5a7da822.torfinn.ingolfsen>