Error while cross compiling dub frontend drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to cross compile a DVB frontend, but I got this error:



root@dvb:~/dvb/linux_media/drivers/media/dvb-frontends# make -C /root/kernelbuild/linux/ M=$PWD modules -j12
make: Entering directory '/root/kernelbuild/linux'
  CC [M]  /root/dvb/linux_media/drivers/media/dvb-frontends/gx1503.o
  MODPOST /root/dvb/linux_media/drivers/media/dvb-frontends/Module.symvers
ERROR: modpost: "i2c_mux_add_adapter" [/root/dvb/linux_media/drivers/media/dvb-frontends/gx1503.ko] undefined!
ERROR: modpost: "i2c_mux_alloc" [/root/dvb/linux_media/drivers/media/dvb-frontends/gx1503.ko] undefined!
ERROR: modpost: "i2c_mux_del_adapters" [/root/dvb/linux_media/drivers/media/dvb-frontends/gx1503.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:123: /root/dvb/linux_media/drivers/media/dvb-frontends/Module.symvers] Error 1
make[1]: *** Deleting file '/root/dvb/linux_media/drivers/media/dvb-frontends/Module.symvers'
make: *** [Makefile:1741: modules] Error 2
make: Leaving directory '/root/kernelbuild/linux'



The `i2c_mux_add_adapter` exists in 



root@dvb:~/kernelbuild/linux/drivers/i2c# ls -la | grep i2c-mux.ko
-rw-r--r--   1 root root     284 Jan 21 19:16 .i2c-mux.ko.cmd
-rw-r--r--   1 root root  312168 Jan 21 19:16 i2c-mux.ko


root@dvb:~/kernelbuild/linux/drivers/i2c# readelf -a i2c-mux.ko | grep -i i2c_mux_add_adapter
000000000000  005e00000002 R_X86_64_PC32     0000000000000690 i2c_mux_add_adapter + 0
    59: 0000000000000000   174 FUNC    LOCAL  DEFAULT    5 i2c_mux_add_adapter.cold.
    94: 0000000000000690   843 FUNC    GLOBAL DEFAULT    3 i2c_mux_add_adapter

root@dvb:~/kernelbuild/linux/drivers/i2c# readelf -a i2c-mux.ko | grep -i i2c_mux_alloc
00000000000c  005400000002 R_X86_64_PC32     0000000000000090 i2c_mux_alloc + 0
    37: 0000000000000012     0 NOTYPE  LOCAL  DEFAULT    9 __kstrtab_i2c_mux_alloc
    38: 0000000000000020     0 NOTYPE  LOCAL  DEFAULT    9 __kstrtabns_i2c_mux_alloc
    39: 000000000000000c     0 NOTYPE  LOCAL  DEFAULT    7 __ksymtab_i2c_mux_alloc
    84: 0000000000000090   204 FUNC    GLOBAL DEFAULT    3 i2c_mux_alloc

root@dvb:~/kernelbuild/linux/drivers/i2c# readelf -a i2c-mux.ko | grep -i i2c_mux_del_adapters
000000000018  005b00000002 R_X86_64_PC32     00000000000005d0 i2c_mux_del_adapters + 0
    91: 00000000000005d0   188 FUNC    GLOBAL DEFAULT    3 i2c_mux_del_adapters


any idea how to fix those errors?




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux