Find the answer to your Linux question:
Results 1 to 3 of 3
When building a kernel module for Intel x86 Kernel 2.6.26.8-rt16, "FATAL: modpost: GPL-incompatible module sample.ko uses GPL-only symbol '__rcu_read_unlock'" appears. Let us know any work around for this error message. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    3

    Exclamation Work around for GPL-only symbol '__rcu_read_unlock'?


    When building a kernel module for Intel x86 Kernel 2.6.26.8-rt16,

    "FATAL: modpost: GPL-incompatible module
    sample.ko uses GPL-only symbol '__rcu_read_unlock'"
    appears.

    Let us know any work around for this error message.

    In case of the same kernel version without RT patch, no error message occurs.

    Regards,

  2. #2
    Just Joined!
    Join Date
    May 2008
    Posts
    36
    Make the module GPL and set the appropriate lisence constant.

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    3

    Smile in_dev_get, in6_dev_get GPL issue

    Hi all,

    in_dev_get() and in6_dev_get() are not GPL functions.
    However, they are used on Linux Kernel with RealTime Patch,
    the error message,
    "FATAL: modpost: GPL-incompatible module
    sample.ko uses GPL-only symbol '__rcu_read_unlock'"
    appears.

    Is there any Non-GPL function that can be used instead of in_dev_get/in6_dev_get?
    Is it possible to remove the GPL function "__rcu_read_unlock"
    from in_dev_get/in6_dev_get ?

    Regards.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •