multimedia/kbtv: broken saa kmod?

Boris Samorodov bsam at ipt.ru
Tue Feb 13 07:12:13 UTC 2007


On Tue, 13 Feb 2007 06:09:13 +0300 Yuri Pankov wrote:

> I've attached a patch allowing saa kmod to compile cleanly on amd64 with WERROR
> defined.

Thanks, Yuri, pathces applied cleanly. But while compiling I get:
-----
===> kmod (all)
Warning: Object directory not changed from original /usr/ports/multimedia/kbtv/work/kbtv-1.2.3/saa/saa/kmod
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c saa713x.c
cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c saa713x_i2c.c
saa713x_i2c.c:157: error: conflicting types for 'saa_i2c_write'
./saa713x_i2c.h:32: error: previous declaration of 'saa_i2c_write' was here
saa713x_i2c.c:157: error: conflicting types for 'saa_i2c_write'
./saa713x_i2c.h:32: error: previous declaration of 'saa_i2c_write' was here
*** Error code 1

Stop in /usr/ports/multimedia/kbtv/work/kbtv-1.2.3/saa/saa/kmod.
*** Error code 1

Stop in /usr/ports/multimedia/kbtv/work/kbtv-1.2.3/saa/saa.
-----

Help me! ;-)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list