Moderator Control Panel ]

compiler error

It's important to keep your driver and software updated.

compiler error

Postby georg » Thu Dec 05, 2019 6:02 pm

Code: Select All Code
root@xxxxx:/home/xxx/_tbs/media_build# make -j4
make -C /home/xxx/_tbs/media_build/v4l
make[1]: Entering directory '/home/xxx/_tbs/media_build/v4l'
Updating/Creating .config
make[2]: Entering directory '/home/xxx/_tbs/media_build/linux'
make[3]: Entering directory '/home/xxx/_tbs/media_build/linux'
Unapplying patches
make[3]: Leaving directory '/home/xxx/_tbs/media_build/linux'
Applying patches for kernel 4.15.0-72-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/cec/cec-api.c b/drivers/media/cec/cec-api.c
|index b6536bbad530..401ed65c834b 100644
|--- a/drivers/media/cec/cec-api.c
|+++ b/drivers/media/cec/cec-api.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/mc/mc-device.c b/drivers/media/mc/mc-device.c
|index 3bae24b15eaa..7f7cc64c637c 100644
|--- a/drivers/media/mc/mc-device.c
|+++ b/drivers/media/mc/mc-device.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
|index 54afc9c7ee6e..4572a87acc0b 100644
|--- a/drivers/media/v4l2-core/v4l2-ioctl.c
|+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Makefile:132: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 1
make[2]: Leaving directory '/home/xxx/_tbs/media_build/linux'
Preparing to compile for kernel version 4.15.0

***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.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
         backported to run on legacy kernels from the development tree at:
                http://git.linuxtv.org/media-tree.git.
         It is generally safe to use it for testing a new driver or
         feature, but its usage on production environments is risky.
         Don't use it in production. You've been warned.
File not found: ../linux/drivers/media/Kconfig at ./scripts/make_kconfig.pl line 302.
No kernel files. You need to run "make download untar" or "make dir DIR=<your_git_source_dir>" first!
exit 1
Makefile:5: recipe for target 'def' failed
make[1]: *** [def] Error 1
make[1]: Leaving directory '/home/xxx/_tbs/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2

uname -a
Linux streamer02 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
what´'s the problem?
georg
 
Posts: 12
Joined: Sun Oct 06, 2019 5:25 pm

Re: compiler error

Postby steven » Tue Dec 10, 2019 10:18 am

Hi Sir

Please have a try with this package :

# wget http://www.tbsdtv.com/download/document/linux/media_build-2019-11-01.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-11-01.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 10 guests