Moderator Control Panel ]

Build fails on Kernel 5.19.X

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

Build fails on Kernel 5.19.X

Postby pchristy » Fri Oct 28, 2022 6:55 pm

Code: Select All Code
  CC [M]  /home/Build/TBS/media_build/v4l/serial_ir.o
/home/Build/TBS/media_build/v4l/mceusb.c: In function 'mceusb_dev_probe':
/home/Build/TBS/media_build/v4l/mceusb.c:1754:16: error: too many arguments to function 'usb_maxpacket'
 1754 |         maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe));
      |                ^~~~~~~~~~~~~
In file included from /home/Build/TBS/media_build/v4l/mceusb.c:29:
./include/linux/usb.h:1974:19: note: declared here
 1974 | static inline u16 usb_maxpacket(struct usb_device *udev, int pipe)
      |                   ^~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:249: /home/Build/TBS/media_build/v4l/mceusb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:1846: /home/Build/TBS/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-5.19.15'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/Build/TBS/media_build/v4l'
make: *** [Makefile:26: all] Error 2
build failed at ./build line 554


Error appears to be in a sub-system that I do not need. Is it not possible to build just the required TBS drivers insted of everything?

--
Pete
pchristy
 
Posts: 12
Joined: Sun Dec 17, 2017 12:35 am

Re: Build fails on Kernel 5.19.X

Postby zhangchao » Mon Oct 31, 2022 10:20 am

Now support to 5.18 , If you need to support it to 5.19. It takes some time .
zhangchao
 
Posts: 95
Joined: Thu Jan 17, 2013 4:59 pm

Re: Build fails on Kernel 5.19.X

Postby zhangchao » Mon Oct 31, 2022 10:23 am

you can add skype jack_2431 . i will check with you .
zhangchao
 
Posts: 95
Joined: Thu Jan 17, 2013 4:59 pm

Re: Build fails on Kernel 5.19.X

Postby mollcons » Wed Nov 02, 2022 6:53 pm

I found this issue last month. I am having to hold my Fedora 36 kernel at 5.18, despite Fedora having provided kernel 6.0 on October 26 and Fedora 37 beta now released and about to go production on November 15th. Looking at my /boot folder I have only 3 kernel variations available (5.18, 5.19 and 6.0).

Why the delay in supporting at least kernel 5.19?
mollcons
 
Posts: 18
Joined: Mon Oct 26, 2015 5:39 am
Location: Chester, UK

Re: Build fails on Kernel 5.19.X

Postby crazycat » Thu Nov 03, 2022 3:19 am

upstream media_build discontinued - https://git.linuxtv.org/media_build.git
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: Build fails on Kernel 5.19.X

Postby mollcons » Tue Nov 15, 2022 7:29 am

Following on from my previous reply, I now have only kernels 5.18.19-200, 6.0.5-200 and 6.0.7-200 for Fedora 36.

When will the current drivers be updated to kernel 6.0.7?
mollcons
 
Posts: 18
Joined: Mon Oct 26, 2015 5:39 am
Location: Chester, UK

Re: Build fails on Kernel 5.19.X

Postby mollcons » Thu Dec 01, 2022 11:49 pm

When will this be fixed? I am now still on Kernel 5.18 with newer options of 6.0.9 and 6.0.10 available.
mollcons
 
Posts: 18
Joined: Mon Oct 26, 2015 5:39 am
Location: Chester, UK

Re: Build fails on Kernel 5.19.X

Postby Delta » Tue Dec 20, 2022 5:23 pm

Since the Linux kernel function updates are very frequent and in-depth, it is generally not recommended for ordinary users to use a relatively recent kernel version to install the V4L/DTV driver. It often takes longer time for V4L/DTV drivers to adapt to newer kernels. During this time, you may easily encounter compilation issues that you cannot solve by yourself.

For this reason, I would personally choose to run the TBS DTV driver on "Red Hat Enterprise Linux 9" (Kernel version 5.14.0). This operating system focuses on stability, so it will use earlier but more proven technologies. The system adaptation, including the compilation of the TBS DTV driver, is relatively mature and complete. Updates are generally not required so you will have a solid DTV operating environment.
Delta
 
Posts: 11
Joined: Mon Oct 10, 2022 9:57 pm

Re: Build fails on Kernel 5.19.X

Postby zhangchao » Mon Jan 09, 2023 11:19 am

wget http://www.tbsdtv.com/download/document ... 26.tar.bz2
tar jxvf media_build-2022-12-26.tar.bz2
cd media_build
./install.sh
......
reboot
zhangchao
 
Posts: 95
Joined: Thu Jan 17, 2013 4:59 pm

Re: Build fails on Kernel 5.19.X

Postby mollcons » Sun Jan 15, 2023 2:15 am

I have tried this and the first command failed with a 404 error.
mollcons
 
Posts: 18
Joined: Mon Oct 26, 2015 5:39 am
Location: Chester, UK

Next

Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 16 guests