| Summary: | xawtv-3.88 build dies | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matt Taylor <liverbugg> |
| Component: | Current packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | henti, leroutier, x86-kernel |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Move the videodev.h into include section
new ebuild with patch included |
||
I just noticed that I swaped the letters in zvbi. It should say: it does this with zvbi-0.2.4 and 0.2.1-r1 and xawtv-3.86-r1 built fine with either zvbi installed. Are you on 1.2 install base or 1.4 ? Henti 1.2, running almost all the newest ~x86 packages. it looks to me like there's something up with your linux header files, but don't touch that yet -- I'd like the opinion of someone on our kernel team. Jay, Bob, Brandon -- opinions, please? *** Bug 20923 has been marked as a duplicate of this bug. *** If there's anything you want me to try let me know soon...going to be upgrading my hardware and doing a fresh 1.4 install probably this weekend. Hi all .. My hdd crashed on saterday so I have lost my whole system including the bug :P busy reinstalling complete machine with 1.4 build and gcc 3.2.2 so I'm sure the bug has dissapeared from my system. I'm sourcing some old hardware again and going to try and recreate it .. but I'm not holding my thumbs. I still have the old hdd and will try a recovery as well if only for bugtracking. Henti Smith Created attachment 14171 [details]
Move the videodev.h into include section
May be gcc 2.95.3 has a problem with include inside functions.
Comment on attachment 14171 [details]
Move the videodev.h into include section
-- xawtv-3.88/x11/vbi-gui.c.orig 2003-04-14 20:06:25.000000000 +0200
+++ xawtv-3.88/x11/vbi-gui.c 2003-07-05 16:52:47.000000000 +0200
@@ -46,6 +46,10 @@
#include "channel.h"
+#ifdef linux
+#include "videodev.h"
+#endif
+
static int tt_debug = 1;
static int tt_windows = 0;
@@ -910,7 +914,6 @@
#endif
#ifdef linux
-#include "videodev.h"
if (-1 == ioctl(vbi->fd,VIDIOCSFREQ,&channels[i]->freq))
perror("ioctl VIDIOCSFREQ");
#endif
Created attachment 14172 [details]
new ebuild with patch included
Finally got my computer back up and running after a month of downtime. Just tested this with the patch and it compiles. Thanks! so this bug can be closed i suppose as the patch worked ?! related bug : http://bugs.gentoo.org/show_bug.cgi?id=26723 This patch is still needed for xawtv-3.90. *** This bug has been marked as a duplicate of 26723 *** |
x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic In file included from /usr/include/linux/types.h:8, from libng/videodev.h:4, from x11/vbi-gui.c:913: /usr/include/linux/posix_types.h: In function `vbi_station_cb': /usr/include/linux/posix_types.h:36: parse error before `typedef' x11/vbi-gui.c:896: warning: unused variable `vbi' /usr/include/linux/posix_types.h: At top level: /usr/include/linux/posix_types.h:38: warning: data definition has no type or storage class x11/vbi-gui.c:914: parse error before `if' make: *** [x11/vbi-gui.o] Error 1 !!! ERROR: media-video/xawtv-3.88 failed. !!! Function src_compile, Line 68, Exitcode 2 !!! (no error message) it does this with zbvi-0.2.4 and 0.2.1-r1 and xawtv-3.86-r1 built fine with either zbvi installed. Reproducible: Always Steps to Reproduce: 1.emerge xawtv 2. 3. Actual Results: dies Expected Results: compile Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8) ================================================================= System uname: 2.4.19-gentoo-r10e i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://linux.oit.umass.edu/gentoo/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/home/liverbugg/portage" USE="x86 oss 3dnow apm avi crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb bonobo cdr directfb esd gdbm gif gnome gnome-libs gpm gtk gtkhtml guile imlib libwww motif mozilla mysql nls oggvorbis opengl pam perl png python readline sdl slang snmp ssl svga tcltk tcpd tiff X -kde -qt -arts -java dvd encode gtk2" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache digest"