Issue 30 in vtuner: linux-headers-3.8.0-2-generic

94 views
Skip to first unread message

vtu...@googlecode.com

unread,
Jan 27, 2013, 4:52:38 PM1/27/13
to vtuner-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 30 by laven...@gmail.com: linux-headers-3.8.0-2-generic
http://code.google.com/p/vtuner/issues/detail?id=30

Under the 3.8.0 Kernel vtunerc_main.c fails to compile as the
#include "demux.h" fails to resolve to a the correct directory / file.

I think this is due to the uapi kernel split since 3.7. gcc -V option does
appear to have the right paths to uapi though. See log below.

phill@compaq:~/vtuner.linux-driver$ make
KDIR=/usr/src/linux-headers-3.8.0-2-generic V=1
make -C /usr/src/linux-headers-3.8.0-2-generic
SUBDIRS=/home/phill/vtuner.linux-driver modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-2-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or
include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to
fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /home/phill/vtuner.linux-driver/.tmp_versions ; rm -f
/home/phill/vtuner.linux-driver/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/phill/vtuner.linux-driver
gcc -Wp,-MD,/home/phill/vtuner.linux-driver/.vtunerc_main.o.d -nostdinc
-isystem /usr/lib/gcc/i686-linux-gnu/4.7/include
-I/usr/src/linux-headers-3.8.0-2-generic/arch/x86/include
-Iarch/x86/include/generated -Iinclude
-I/usr/src/linux-headers-3.8.0-2-generic/arch/x86/include/uapi
-Iarch/x86/include/generated/uapi
-I/usr/src/linux-headers-3.8.0-2-generic/include/uapi
-Iinclude/generated/uapi -include
/usr/src/linux-headers-3.8.0-2-generic/include/linux/kconfig.h
-Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3
-freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686
-mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32
-ffreestanding -fstack-protector -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_AVX=1
-DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024
-Wno-unused-but-set-variable -fno-omit-frame-pointer
-fno-optimize-sibling-calls -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO
-Idrivers/media/dvb/dvb-core -Idrivers/media/dvb/frontends
-Idrivers/media/common/tuners -Iinclude -DVTUNERC_MAX_ADAPTERS=4 -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vtunerc_main)"
-D"KBUILD_MODNAME=KBUILD_STR(vtunerc)" -c -o
/home/phill/vtuner.linux-driver/.tmp_vtunerc_main.o
/home/phill/vtuner.linux-driver/vtunerc_main.c
/home/phill/vtuner.linux-driver/vtunerc_main.c:26:29: fatal error:
linux/dvb/demux.h: No such file or directory
compilation terminated.
make[2]: *** [/home/phill/vtuner.linux-driver/vtunerc_main.o] Error 1
make[1]: *** [_module_/home/phill/vtuner.linux-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-2-generic'
make: *** [default] Error 2
phill@compaq:~/vtuner.linux-driver$


vtu...@googlecode.com

unread,
Jan 27, 2013, 5:34:41 PM1/27/13
to vtuner-...@googlegroups.com

Comment #1 on issue 30 by laven...@gmail.com: linux-headers-3.8.0-2-generic
http://code.google.com/p/vtuner/issues/detail?id=30

Just in case.. dvb_core module is installed..

phill@compaq:~$ lsmod | grep dvb_core
dvb_core 90402 2 cx88_dvb,videobuf_dvb



vtu...@googlecode.com

unread,
Apr 2, 2013, 7:50:50 AM4/2/13
to vtuner-...@googlegroups.com
Updates:
Status: Accepted

Comment #2 on issue 30 by jpetrous: linux-headers-3.8.0-2-generic
http://code.google.com/p/vtuner/issues/detail?id=30

As suggested by _jata_ in forum, add the line to the Makefile
(http://www.nessiedvb.org/forum/viewtopic.php?f=11&t=3&p=311#p311):

--- Makefile.orig 2013-02-07 13:09:14.903314119 +0100
+++ Makefile 2013-02-07 13:09:31.158134414 +0100
@@ -11,6 +11,7 @@
obj-$(CONFIG_DVB_VTUNERC) += vtunerc.o

ccflags-y += -Idrivers/media/dvb/dvb-core
+ccflags-y += -Idrivers/media/dvb-core
ccflags-y += -Idrivers/media/dvb/frontends
ccflags-y += -Idrivers/media/common/tuners
ccflags-y += -Iinclude


/Honza

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

vtu...@googlecode.com

unread,
Apr 2, 2013, 8:05:54 AM4/2/13
to vtuner-...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 30 by jpetrous: linux-headers-3.8.0-2-generic
http://code.google.com/p/vtuner/issues/detail?id=30

Fixed in the repository.
Reply all
Reply to author
Forward
0 new messages