Moderator Control Panel ]

Error when compiling for Ubuntu 18

Error when compiling for Ubuntu 18

Postby frankviana » Wed Oct 18, 2023 5:00 am


I tried several times, but no way to compile using a lot of offline drivers and "latest" from github

My current system (Kernel 5.4.0-150 and Ubuntu Mate i686 18.04.1)

root@frank-Aspire-V5-123:/home/frank/media_build# uname -a
Linux frank-Aspire-V5-123 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:14 UTC 2023 i686 athlon i686 GNU/Linux

I see this "last" error:
CC [M] /home/frank/media_build/v4l/vivid-vbi-out.o
CC [M] /home/frank/media_build/v4l/vivid-osd.o
CC [M] /home/frank/media_build/v4l/vivid-meta-cap.o
CC [M] /home/frank/media_build/v4l/vivid-meta-out.o
CC [M] /home/frank/media_build/v4l/vivid-kthread-touch.o
CC [M] /home/frank/media_build/v4l/vivid-touch-cap.o
CC [M] /home/frank/media_build/v4l/radio-shark2.o
CC [M] /home/frank/media_build/v4l/radio-tea5777.o
CC [M] /home/frank/media_build/v4l/radio-timb.o
CC [M] /home/frank/media_build/v4l/fmdrv_common.o
/home/frank/media_build/v4l/radio-timb.c:167:3: error: 'struct platform_driver' has no member named 'remove_new'; did you mean 'remove'?
.remove_new = timbradio_remove,
/home/frank/media_build/v4l/radio-timb.c:167:16: error: initialization of 'int (*)(struct platform_device *)' from incompatible pointer type 'void (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
.remove_new = timbradio_remove,
/home/frank/media_build/v4l/radio-timb.c:167:16: note: (near initialization for 'timbradio_platform_driver.remove')
cc1: some warnings being treated as errors
CC [M] /home/frank/media_build/v4l/fmdrv_rx.o
scripts/ recipe for target '/home/frank/media_build/v4l/radio-timb.o' failed
make[3]: *** [/home/frank/media_build/v4l/radio-timb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:1767: recipe for target '/home/frank/media_build/v4l' failed
make[2]: *** [/home/frank/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-150-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/frank/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
build failed at ./build line 554
Posts: 15
Joined: Thu Sep 27, 2018 8:41 am

Re: Error when compiling for Ubuntu 18

Postby smile » Mon Jan 22, 2024 10:24 am

Hi sir
please update your gcc version ,update to gcc-8 or gcc-12.

Best Regards
Posts: 161
Joined: Sun Oct 09, 2011 9:51 am

Return to TBS5520 Multi-standard TV Tuner USB Box

Who is online

Users browsing this forum: No registered users and 1 guest