Unable to build odroidm1-5.10.y

Post Reply
jic5760
Posts: 3
Joined: Wed Feb 11, 2015 8:21 pm
languages_spoken: korean
Has thanked: 1 time
Been thanked: 0
Contact:

Unable to build odroidm1-5.10.y

Post by jic5760 »

Log: https://github.com/jclab-joseph/odroid- ... 4510366174
What's the problem? Should I use a different toolchain?

#18 1288.7 drivers/hid/hid-core.o: In function `hid_add_field':
#18 1288.7 /home/build/linux/drivers/hid/hid-core.c:262: undefined reference to `uhid_hid_driver'
#18 1288.7 aarch64-linux-gnu-ld: drivers/hid/hid-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `uhid_hid_driver' can not be used when making a shared object; recompile with -fPIC
#18 1288.7 /home/build/linux/drivers/hid/hid-core.c:262: undefined reference to `uhid_hid_driver'
#18 1288.7 drivers/hid/hid-core.o: In function `hid_report_raw_event':
#18 1288.7 /home/build/linux/drivers/hid/hid-core.c:1760: undefined reference to `uhid_hid_driver'
#18 1288.7 aarch64-linux-gnu-ld: drivers/hid/hid-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `uhid_hid_driver' can not be used when making a shared object; recompile with -fPIC
#18 1288.7 /home/build/linux/drivers/hid/hid-core.c:1760: undefined reference to `uhid_hid_driver'
#18 1289.0 make[3]: *** [Makefile:1317: vmlinux] Error 1
#18 1289.1 make[2]: *** [debian/rules:7: build-arch] Error 2
#18 1289.1 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
#18 1289.1 make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
#18 1289.1 make: *** [Makefile:1647: bindeb-pkg] Error 2
#18 ERROR: process "/bin/sh -c . /tmp/prepare.sh && make EXTRAVERSION=${EXTRAVERSION} -j`nproc` bindeb-pkg" did not complete successfully: exit code: 2

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Unable to build odroidm1-5.10.y

Post by tobetter »

I think your kernel build does not enable CONFIG_UHID so the symbole uhdi_hid_driver is missing.
BTW, I am wondering why you are trying to build kernel image.

jic5760
Posts: 3
Joined: Wed Feb 11, 2015 8:21 pm
languages_spoken: korean
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Unable to build odroidm1-5.10.y

Post by jic5760 »

I want to enable virtualization and openvswitch to use Proxmox.
I'm trying to change CONFIG_UHID=m to CONFIG_UHID=y and rebuild.

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Unable to build odroidm1-5.10.y

Post by tobetter »

jic5760 wrote:
Fri May 03, 2024 10:07 am
I want to enable virtualization and openvswitch to use Proxmox.
I'm trying to change CONFIG_UHID=m to CONFIG_UHID=y and rebuild.
Ok, let me know if any error happens again.
For the features what you are trying to have, why don't you try to run 6.1 Linux kernel and run over it? 5.10 kernel is based on Rockchip BSP, intended to enable and support H/W features while 6.x kernel is from mainline upstream to support modern features but certain SoC features would not work like NPU.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest