Date: Mon, 12 Feb 2007 21:45:19 +0100 From: Danny Pansters <danny@ricin.com> To: Boris Samorodov <bsam@ipt.ru> Cc: danny@ricin.com, freebsd-ports@freebsd.org Subject: Re: multimedia/kbtv: broken saa kmod? Message-ID: <200702122145.19885.danny@ricin.com> In-Reply-To: <47998907@srv.sem.ipt.ru> References: <47998907@srv.sem.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 12 February 2007 18:59, Boris Samorodov wrote: > Hi, > > > just noticed that kbtv is being developed. Greate news, thanks! > > Did somebody manage to build saa kernel module (multimedia/kbtv)? I've > got an error: > ----- > ===> 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 saa713x.c: In function > `saa_build_pta': > saa713x.c:507: warning: int format, different type arg (arg 2) Looks like it needs a cast, might be an easy fix. > *** 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. > ----- > > # make -V PORTVERSION > 1.2.3 > # uname -a > FreeBSD srv.sem.ipt.ru 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 15 > 17:30:44 MSK 2007 bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/GENERIC > amd64 Ah, I'm on i386, I've seen something similar before. The 64 bit platforms are more picky. I'll see what I can do (I have an amd64 box to test on). Thanks, Dan PS I see you are Russian; I'm not sure if it applies to you, but please note that secam doesnt work, only pal d/k/L' (whichever you may need). You'd probably get black-and-white video and no sound. While it may be easy to add the needed audio carrier frequencies (if provided with the correct values) in my own code, the handling of secam video in the saa driver may be harder considering that I can't really test. It may be possible to deal with it in my own code while rendering, and do a conversion there but that will probably be slow. It would be great if someone would just sent me a secam patch :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702122145.19885.danny>