Public bug reported:

Hello all,

I am compiling my custom linux-image and linux-headers from bionic
source:

Source version in changelog:

* linux: 4.15.0-15.16 -proposed tracker (LP: #1761177)

After install the custom linux to my system, I can not install external
module:

make[1]: Entering directory '/usr/src/linux-headers-4.15.15+inject'
  CC [M]  /home/virgosun/Documents/droidcam-64bit/v4l2loopback/v4l2loopback-dc.o
In file included from ./include/linux/media.h:28:0,
                 from ./include/media/media-entity.h:27,
                 from ./include/media/v4l2-dev.h:20,
                 from ./include/media/v4l2-common.h:29,
                 from 
/home/virgosun/Documents/droidcam-64bit/v4l2loopback/v4l2loopback-dc.c:30:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:26: error: no include path 
in which to search for stdint.h
 # include_next <stdint.h>
                          ^

Look at the media.h, I found the change that cause the error:

#ifndef __KERNEL__
#include <stdint.h>
#endif

is changed to

#include <stdint.h>

Revert the change fix the compilation

Please be aware of this

Thanks

Regards

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1766663

Title:
  source kernel 4.15 bug in media.h

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hello all,

  I am compiling my custom linux-image and linux-headers from bionic
  source:

  Source version in changelog:

  * linux: 4.15.0-15.16 -proposed tracker (LP: #1761177)

  After install the custom linux to my system, I can not install
  external module:

  make[1]: Entering directory '/usr/src/linux-headers-4.15.15+inject'
    CC [M]  
/home/virgosun/Documents/droidcam-64bit/v4l2loopback/v4l2loopback-dc.o
  In file included from ./include/linux/media.h:28:0,
                   from ./include/media/media-entity.h:27,
                   from ./include/media/v4l2-dev.h:20,
                   from ./include/media/v4l2-common.h:29,
                   from 
/home/virgosun/Documents/droidcam-64bit/v4l2loopback/v4l2loopback-dc.c:30:
  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:26: error: no include path 
in which to search for stdint.h
   # include_next <stdint.h>
                            ^

  Look at the media.h, I found the change that cause the error:

  #ifndef __KERNEL__
  #include <stdint.h>
  #endif

  is changed to

  #include <stdint.h>

  Revert the change fix the compilation

  Please be aware of this

  Thanks

  Regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766663/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to