After I bild my image with DVB-tools i got this error:
make -C firmware
make[6]: Entering directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/firmware'
make[6]: Nothing to be done for 'default'.
make[6]: Leaving directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/firmware'
Kernel build directory is /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.179
make -C ../linux apply_patches
make[6]: Entering directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/linux'
Patches for 5.4.179 already applied.
make[6]: Leaving directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/linux'
make -C /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.179 M=/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l modules
make[6]: Entering directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.179'
CC [M] /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/msp3400-driver.o
CC [M] /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/msp3400-kthreads.o
CC [M] /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/ccs-core.o
CC [M] /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/ccs-reg-access.o
CC [M] /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/ccs-quirk.o
In file included from ./include/linux/irq.h:560,
from ./include/linux/gpio/driver.h:7,
from ./include/asm-generic/gpio.h:13,
from ./include/linux/gpio.h:62,
from /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/ccs-core.c:20:
./include/linux/irqdesc.h:117:33: error: 'NR_IRQS' undeclared here (not in a function); did you mean 'do_IRQ'?
extern struct irq_desc irq_desc[NR_IRQS];
^~~~~~~
do_IRQ
In file included from ./include/linux/irq.h:560,
from ./include/asm-generic/hardirq.h:13,
from ./arch/mips/include/asm/hardirq.h:16,
from ./include/linux/hardirq.h:9,
from ./include/linux/interrupt.h:11,
from ./include/linux/kernel_stat.h:9,
from ./include/linux/cgroup.h:26,
from ./include/linux/memcontrol.h:13,
from ./include/linux/swap.h:9,
from ./include/linux/suspend.h:5,
from /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/msp3400-kthreads.c:17:
./include/linux/irqdesc.h:117:33: error: 'NR_IRQS' undeclared here (not in a function); did you mean 'do_IRQ'?
extern struct irq_desc irq_desc[NR_IRQS];
^~~~~~~
do_IRQ
make[7]: *** [scripts/Makefile.build:262: /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/ccs-core.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: *** [scripts/Makefile.build:262: /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l/msp3400-kthreads.o] Error 1
make[6]: *** [Makefile:1734: /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l] Error 2
make[6]: Leaving directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.179'
make[5]: *** [Makefile:53: default] Error 2
make[5]: Leaving directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/v4l'
make[4]: *** [Makefile:26: all] Error 2
make[4]: Leaving directory '/home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0'
make[3]: *** [Makefile:87: /home/wrtuser/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/v4l-dvb-tbsdtv-2021-02-02-ad3104e0/.built] Error 2
make[3]: Leaving directory '/home/wrtuser/owrt/package/openwrt-dvb/v4l-dvb'
time: package/openwrt-dvb/v4l-dvb/compile#943.84#119.38#4188.11
ERROR: package/openwrt-dvb/v4l-dvb failed to build.
make[2]: *** [package/Makefile:116: package/openwrt-dvb/v4l-dvb/compile] Error 1
make[2]: Leaving directory '/home/wrtuser/owrt'
make[1]: *** [package/Makefile:110: /home/wrtuser/owrt/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/wrtuser/owrt'
make: *** [/home/wrtuser/owrt/include/toplevel.mk:230: world] Fehler 2
Explicit error Message:
./include/linux/irqdesc.h:117:33: error: 'NR_IRQS' undeclared here (not in a function); did you mean 'do_IRQ'?
extern struct irq_desc irq_desc[NR_IRQS];
^~~~~~~
do_IRQ
I compiled on debian os (5.19.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1 (2022-09-24) x86_64 GNU/Linux) it with:
apt clean;
apt update && apt upgrade
# install deps:
apt install build-essential gawk gcc-multilib flex git gettext libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev clang
# Clone atm version and pull for changes
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
# Select code revision and create a new branch
git branch -a
git tag
git checkout v21.02.2
# Rebasing for Easybox904:
git branch workbranch
git checkout workbranch
git remote add plonkb https://github.com/Plonkbong/openwrt.git
git fetch plonkb xrx200-21.02.2:xrx200-21.02.2
git rebase workbranch xrx200-21.02.2
git checkout workbranch
git merge xrx200-21.02.2
# Update the feeds
./scripts/feeds update -a
./scripts/feeds install -a
# Adding DVB_CORE / FW
git clone https://github.com/tmn505/openwrt-dvb package/dvb-fwcore
make menuconfig
# Build the firmware image
make -j $(($(nproc)+1)) V=sc defconfig download clean world
So , how what does this IRQ error mean?