Moderator Control Panel ]

Compile modules on alpine linux

Compile modules on alpine linux

Postby bolzerrr » Thu Jan 27, 2022 5:08 pm

Hi,

i try to compile the modules on the lastest alpine linux. I am running repeating into such errors:
Code: Select All Code
/root/TBS/media_build/v4l/lm3560.c:343:21: error: variable 'lm3560_regmap' has initializer but incomplete type
  343 | static const struct regmap_config lm3560_regmap = {
      |                     ^~~~~~~~~~~~~
/root/TBS/media_build/v4l/lm3560.c:344:3: error: 'const struct regmap_config' has no member named 'reg_bits'
  344 |  .reg_bits = 8,
      |   ^~~~~~~~
/root/TBS/media_build/v4l/lm3560.c:344:14: warning: excess elements in struct initializer
  344 |  .reg_bits = 8,
      |              ^
/root/TBS/media_build/v4l/lm3560.c:344:14: note: (near initialization for 'lm3560_regmap')


I guess i am missing a build dependency but i cant find it..
Can someone give me an advice ?

Thank you!
bolzerrr
 
Posts: 34
Joined: Wed Nov 20, 2013 5:36 am

Re: Compile modules on alpine linux

Postby bolzerrr » Sat Jan 29, 2022 6:32 pm

I tried to find a solution without success, so i opened an issue on github: https://github.com/tbsdtv/linux_media/issues/274
bolzerrr
 
Posts: 34
Joined: Wed Nov 20, 2013 5:36 am

Re: Compile modules on alpine linux

Postby bolzerrr » Mon Jan 31, 2022 3:32 pm

I went a bit forward by disabling modules using regmap, but now i am stuck here:

Code: Select All Code
ERROR: modpost: "snd_pcm_period_elapsed" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_pcm_set_ops" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_pcm_lib_free_pages" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_pcm_lib_ioctl" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_pcm_lib_malloc_pages" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_card_new" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_pcm_hw_constraint_minmax" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_pcm_lib_preallocate_pages_for_all" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_card_free" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
ERROR: modpost: "snd_card_register" [/root/TBS/media_build/v4l/tbs_pcie-dvb.ko] undefined!
WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many)
bolzerrr
 
Posts: 34
Joined: Wed Nov 20, 2013 5:36 am

Re: Compile modules on alpine linux

Postby steven » Mon Feb 07, 2022 10:22 am

Hi Sir

About ALPINE we have not tested yet , you are using with virtual server ? possible setup SSH remote let us have a try ?
For the github driver you can try with ubuntu , centos ,debian.

Thanks

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm


Return to DVB-S2 Octa Tuner PCIe Card TBS6909

Who is online

Users browsing this forum: Bing [Bot] and 5 guests