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$