hardkernel / linux

Linux kernel source tree
Other
426 stars 406 forks source link

[5.4.y] Odroid-XU4 Kernel won't compile #430

Open semidark opened 1 year ago

semidark commented 1 year ago

Hi,

i installed the latest Ubuntu minimal image ubuntu_5.4. I'm trying to rebuild the Kernel so I can fiddle arount with it eventually.

But after downloading the 5.4.y branch and using the current kernel config...

wget https://github.com/hardkernel/linux/archive/refs/heads/odroid-5.4.y.zip
unzip odroid-5.4.y.zip
cd linux-odroid-5.4.y/
cat /proc/config.gz | gunzip > .config

Building...

nice make -j`nproc` bindeb-pkg

Fails with this error message:

[...]
  HDRINST usr/include/rdma/rdma_user_rxe.h
  HDRINST usr/include/rdma/siw-abi.h
  HDRINST usr/include/rdma/rdma_user_ioctl_cmds.h
error: include/uapi/linux/fb.h: leak CONFIG_FB_BACKLIGHT to user-space
  HDRINST usr/include/rdma/mlx5_user_ioctl_cmds.h
make[6]: *** [scripts/Makefile.headersinst:63: usr/include/linux/fb.h] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:1229: headers] Error 2
make[4]: *** [scripts/Makefile.package:87: intdeb-pkg] Error 2
make[3]: *** [Makefile:1475: intdeb-pkg] Error 2
make[2]: *** [debian/rules:9: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot -u debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1475: bindeb-pkg] Error 2

Any ideas why this happends?