[yocto] Naive Questsions about 3rd Party Kernel Module

Daniel. danielhilst at gmail.com
Mon Sep 12 09:41:24 PDT 2016


Ronald,

If you don't make your driver GPL you can't access GPL symbols. This
*may* be the reason behind the "Unknown symbols"
Regards,

2016-09-12 13:02 GMT-03:00 Lennart Sorensen <lsorense at csclub.uwaterloo.ca>:
> On Fri, Sep 09, 2016 at 04:02:21PM -0600, Ronald Oakes wrote:
>> Following up as I've done more investigation and debugging this afternoon:
>>
>> I've been able to resolve my problem with the missing symbolic link to
>> <filename>.so by explicitly including a runtime dependency
>> (RDEPENDS_${PN}) to the -dev module, so my link is now present on the
>> filesystem image at boot.  I've also found reasonably strong evidence
>> that that library contains the function __stack_chk_fail; but the
>> evidence could equally indicate that that library calls it as I found
>> the string using the strings function.
>>
>> Either way, it looks like I have a critical kernel module, and a less
>> critical kernel module, that are relying on a shared library that
>> either are missing on my image or are not available properly in kernel
>> space.  Any suggestions on how I can resolve this would be greatly
>> appreciated.
>
> Kernel modules only use kernel code.  They never use user space libraries.
> It simply doesn't work that way.
>
> --
> Len Sorensen
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the yocto mailing list