Moderator Control Panel ]

Unable to successfully compile drivers in Mint 21.3

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

Unable to successfully compile drivers in Mint 21.3

Postby pinnerite » Wed Mar 12, 2025 12:51 am

I have successfully run the open source scripts for several years for both my TBS-6280m and TBS-6281 DVB-T2 cards.
I get "make failed" for the following kernels:

5.15.0-133-generic
5.15.0-134-generic
6.8.0-52-generic

This is the error report from the scroll-up:
> >> /opt/media_build/v4l/ccs-core.c: In function 'ccs_set_ctrl':
> >> /opt/media_build/v4l/ccs-core.c:668:21: error: too many arguments to function 'pm_runtime_get_if_active'
> >> 668 | pm_status = pm_runtime_get_if_active(&client->dev, true);
> >> | ^~~~~~~~~~~~~~~~~~~~~~~~
> >> In file included from /opt/media_build/v4l/ccs-core.c:22:
> >> ./include/linux/pm_runtime.h:75:12: note: declared here
> >> 75 | extern int pm_runtime_get_if_active(struct device *dev);
> >> | ^~~~~~~~~~~~~~~~~~~~~~~~
> >
> > This invalid function definition using two parameters ("&client->dev",
> > true") is what breaks it, as only one parameter ("struct device *dev")
> > is in the declaration in the header.

Anybody solved the problem?
pinnerite
 
Posts: 3
Joined: Mon Mar 10, 2025 8:27 pm


Re: Unable to successfully compile drivers in Mint 21.3

Postby pinnerite » Wed Mar 12, 2025 5:11 am

I found this myself but I don't know how to "pull" a patch.
Sound painful.
pinnerite
 
Posts: 3
Joined: Mon Mar 10, 2025 8:27 pm

[SOLVED] Re: Unable to successfully compile drivers in Mint

Postby pinnerite » Sun Mar 16, 2025 12:33 am

The problem was my mistake on relying on the kernel headers.
It needed the full source.
pinnerite
 
Posts: 3
Joined: Mon Mar 10, 2025 8:27 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 7 guests

cron