tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
174 stars 81 forks source link

Failed compilation #364

Open AKDub opened 1 day ago

AKDub commented 1 day ago

The system runs openmediavault which is based on Debian.

Linux nas 6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06) x86_64

Here is what happens with sudo ./build

Checking if the needed tools for Debian GNU/Linux 11 (bullseye) are available
Needed package dependencies are met.

************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest  *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory.                          *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures            *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License     *
* Firmware files are under the license terms found at:     *
* https://github.com/tbsdtv/media_build/releases/download/latest *
* Please abort in the next 5 secs if you don't agree with  *
* the license                                              *
************************************************************

Not aborted. It means that the licence was agreed. Proceeding...

make: Entering directory '/usr/src/media_build/linux'
wget https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2024-11-22 16:03:33--  https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5
Resolving github.com (github.com)... 20.26.156.215
Connecting to github.com (github.com)|20.26.156.215|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/0fa0f7dd-fa69-48e9-91c6-12f37ec2dbbd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241122T160334Z&X-Amz-Expires=300&X-Amz-Signature=c9c52126f0be56a343d1548a1d5c9f3e5b8bb50001f7d23956c62777f0f46245&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2.md5&response-content-type=application%2Foctet-stream [following]
--2024-11-22 16:03:34--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/0fa0f7dd-fa69-48e9-91c6-12f37ec2dbbd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241122T160334Z&X-Amz-Expires=300&X-Amz-Signature=c9c52126f0be56a343d1548a1d5c9f3e5b8bb50001f7d23956c62777f0f46245&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2.md5&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87 [application/octet-stream]
Saving to: ‘linux-media.tar.bz2.md5.tmp’

linux-media.tar.bz2.md5.tm 100%[=======================================>]      87  --.-KB/s    in 0s

2024-11-22 16:03:34 (3.64 MB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [87/87]

make: Leaving directory '/usr/src/media_build/linux'
make: Entering directory '/usr/src/media_build/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Leaving directory '/usr/src/media_build/linux'
**********************************************************
* Downloading firmwares from linuxtv.org.                *
**********************************************************
dvb-demod-avl6882.fw
dvb-demod-drxk-pctv.fw
dvb-demod-gx1503B.fw
dvb-demod-m88ds3103b.fw
dvb-demod-m88ds3103.fw
dvb-demod-m88rs6000.fw
dvb-demod-m88rs6060.fw
dvb-demod-mn88472-02.fw
dvb-demod-mn88473-01.fw
dvb-demod-si2168-01.fw
dvb-demod-si2168-02.fw
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
dvb-demod-si2168-d60-01.fw
dvb-demod-si2183-b60-01.fw
dvb-fe-bcm3510-01.fw
dvb-fe-cx24116.fw
dvb-fe-cx24117.fw
dvb-fe-drxj-mc-1.0.8.fw
dvb-fe-drxj-mc-vsb-1.0.8.fw
dvb-fe-drxj-mc-vsb-qam-1.0.8.fw
dvb-fe-ds3000.fw
dvb-fe-ds300x.fw
dvb-fe-ds3103.fw
dvb-fe-mxl58x.fw
dvb-fe-mxl5xx.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-rs6000.fw
dvb-fe-tda10045.fw
dvb-fe-tda10046.fw
dvb-fe-tda10048-1.0.fw
dvb-fe-tda10071.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-tuner-si2141-a10-01.fw
dvb-tuner-si2157-a30-01.fw
dvb-tuner-si2157-a30-05.fw
dvb-tuner-si2158-a20-01.fw
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-dw2101.fw
dvb-usb-dw2102.fw
dvb-usb-dw2104.fw
dvb-usb-dw3101.fw
dvb-usb-id5230.fw
dvb-usb-id5301.fw
dvb-usb-id5520se.fw
dvb-usb-id5530.fw
dvb-usb-id5580.fw
dvb-usb-id5590.fw
dvb-usb-id5930.fw
dvb-usb-id5931.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-p1100.fw
dvb-usb-p1100-old.fw
dvb-usb-p7500.fw
dvb-usb-pctv-400e-01.fw
dvb-usb-pctv-450e-01.fw
dvb-usb-pctv-452e-01.fw
dvb-usb-s620.fw
dvb-usb-s630.fw
dvb-usb-s660.fw
dvb-usb-sb340.fw
dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw
dvb-usb-tbsqbox-dvbc.fw
dvb-usb-tbsqbox-id2601.fw
dvb-usb-tbsqbox-id5220.fw
dvb-usb-tbsqbox-id5520.fw
dvb-usb-tbsqbox-id5521.fw
dvb-usb-tbsqbox-id5680.fw
dvb-usb-tbsqbox-id5880.fw
dvb-usb-tbsqbox-id5881.fw
dvb-usb-tbsqbox-id5910.fw
dvb-usb-tbsqbox-id5920.fw
dvb-usb-tbsqbox-id5921.fw
dvb-usb-tbsqbox-id5922.fw
dvb-usb-tbsqbox-id5925.fw
dvb-usb-tbsqbox-id5927.fw
dvb-usb-tbsqbox-id5928.fw
dvb-usb-tbsqbox-id5980.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-tt-s2400-01.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
sms1xxx-hcw-55xxx-dvbt-02.fw
sms1xxx-hcw-55xxx-isdbt-02.fw
sms1xxx-nova-a-dvbt-01.fw
sms1xxx-nova-b-dvbt-01.fw
sms1xxx-stellar-dvbt-01.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc-broken.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /usr/src/media_build/v4l allyesconfig
make[1]: Entering directory '/usr/src/media_build/v4l'
make[2]: Entering directory '/usr/src/media_build/linux'
Applying patches for kernel 6.1.0-0.deb11.21-amd64
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/ccs.patch
patch -s -f -N -p1 -i ../backports/rc-cec.patch
patch -s -f -N -p1 -i ../backports/v6.10_bt8xx.patch
patch -s -f -N -p1 -i ../backports/v6.9_i2c_mux.patch
patch -s -f -N -p1 -i ../backports/v6.9_i2c_mux_tbs.patch
patch -s -f -N -p1 -i ../backports/v6.9_assign_str.patch
patch -s -f -N -p1 -i ../backports/v6.8-ccs.patch
patch -s -f -N -p1 -i ../backports/v6.8-spi.patch
patch -s -f -N -p1 -i ../backports/v6.7-cec.patch
patch -s -f -N -p1 -i ../backports/v6.5_pcm_copy.patch
patch -s -f -N -p1 -i ../backports/v6.5_dvb_math.patch
patch -s -f -N -p1 -i ../backports/v6.3_class_create.patch
patch -s -f -N -p1 -i ../backports/v6.3_check_endpoint.patch
patch -s -f -N -p1 -i ../backports/v6.2_class.patch
patch -s -f -N -p1 -i ../backports/v6.2_remove.patch
patch -s -f -N -p1 -i ../backports/v6.2_probe.patch
patch -s -f -N -p1 -i ../backports/v6.2_probe_tbs.patch
patch -s -f -N -p1 -i ../backports/v6.2_v4l2-core.patch
patch -s -f -N -p1 -i ../backports/v6.1_class.patch
patch -s -f -N -p1 -i ../backports/v6.1_i2c_probe.patch
patch -s -f -N -p1 -i ../backports/v6.1_videobuf2.patch
patch -s -f -N -p1 -i ../backports/v6.1_timer.patch
patch -s -f -N -p1 -i ../backports/v6.1_ipu3.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory '/usr/src/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/6.1.0-0.deb11.21-amd64/build /lib/modules/6.1.0-0.deb11.21-amd64/build 1
Preparing to compile for kernel version 6.1.0
File not found: /lib/modules/6.1.0-0.deb11.21-amd64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** [Makefile:376: allyesconfig] Error 2
make[1]: Leaving directory '/usr/src/media_build/v4l'
make: *** [Makefile:26: allyesconfig] Error 2
can't select all drivers at ./build line 552

Thanks in advance

crazycat69 commented 21 hours ago

kernel headers not installed

apt install linux-headers-amd64