You are not logged in.

#1 2013-11-02 12:46:40

fasigno
Member
Registered: 2013-11-02
Posts: 5

[SOLVED] Cannot compile dvb drivers.

Hi,
I'm setting up a htpc media center based on arch with mythtv and xbmc. I've installed the base and base-devel packages and I need to compile the tbs-dvb-drivers to make my TBS 6280 DVB-T2 card work.
Unfortunately I cannot compile the drivers as the compile process seems to enter in a loop, it continues to show the following output:

[...]

TBS drivers configured for x86_64 platform.
make -C /home/media/tbs-dvb-drivers/src/linux-tbs-drivers/v4l 
make[1]: ingresso nella directory "/home/media/tbs-dvb-drivers/src/linux-tbs-drivers/v4l"
scripts/make_makefile.pl
./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
Preparing to compile for kernel version 3.11.6

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

./scripts/make_myconfig.pl
scripts/make_makefile.pl
./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
Preparing to compile for kernel version 3.11.6

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

./scripts/make_myconfig.pl
scripts/make_makefile.pl
./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
Preparing to compile for kernel version 3.11.6

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

./scripts/make_myconfig.pl
scripts/make_makefile.pl
./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
Preparing to compile for kernel version 3.11.6

[...]

I've waited up to 20 minutes, but the process seems stucked and the size of the folder doesn't grow up.
It's true that I have just the kernel-headers installed. In addition make continues to warn me that the edit date of several files is newer than the actual. Initially the date of the system was wrong (but not older than the file's) but now I've fixed it with the correct date in UTC. The problem persists.

I've also tried to compile from source directly but make enters into the same loop and gives me the same warnings.

Thank you in advance for any kind of help.

Regards.

Last edited by fasigno (2013-11-03 21:40:00)

Offline

#2 2013-11-03 19:53:11

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Re: [SOLVED] Cannot compile dvb drivers.

First make sure you have the core-devel package group installed. This is required to build AUR package in general.
Next, check to see if you have kernel-headers and v4l-utils installed? If not install them both and try again. I'm not sure if they are hard dependancies or not.

EDIT: Sorry, I see you wrote that you installed core-devel and kernel-headers already. It looks like you may have a time zone and hardware clock sync problem. If you just installed arch, make sure the timezone and locale are correct and havn't been altered since you first installed your system. If that's all good, then install the AUR package cleanly from scratch again.

Do you have NTP running?

Last edited by wdirksen (2013-11-03 20:36:18)


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

#3 2013-11-03 21:35:19

fasigno
Member
Registered: 2013-11-02
Posts: 5

Re: [SOLVED] Cannot compile dvb drivers.

Thank you for your answer,
I solved checking the date of the system. Everything was perfect except for the year. I was so sure the date was right.
I shouldn't install arch at midnight :-)

Thank you again!

Offline

Board footer

Powered by FluxBB