Error when building kernel - realtek
#1
Hello

I had to make some changes to the hid-multitouch driver and I'm trying to build my kernel.
During the cross compile build, I get:

Quote: LD [M]  drivers/net/wireless/rockchip_wlan/rtl8188eu/8188eu.o
scripts/Makefile.build:455: recipe for target 'drivers/net/wireless' failed
make[2]: *** [drivers/net/wireless] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:829: recipe for target 'drivers' failed
make: *** [drivers] Error 2

It's a bit over the head for me. I've cloned the rock64-android/kernel repository, changed the driver i wanted to changed and did:


Quote:export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-
ARCH=arm64 make rockchip_smp_nougat_defconfig
ARCH=arm64 make -j5


and ended up with the error:

I have tried running make with V=1, but after compiling the rtl8822bs it just throws the above with nothing more to start on.

Any tips on what did I miss?

Thanks!
#2
Hello again

I've got the exact error now, not sure why I didn't see that previously:

Quote:drivers/net/wireless/rockchip_wlan/esp8089/esp_driver/esp_mac80211.c: In function 'beacon_tim_init':
drivers/net/wireless/rockchip_wlan/esp8089/esp_driver/esp_mac80211.c:543:2: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
error, forbidden warning: esp_mac80211.c:543
scripts/Makefile.build:308: recipe for target 'drivers/net/wireless/rockchip_wlan/esp8089/esp_driver/esp_mac80211.o' failed

I've searched google and found some solutions to gcc from 2014, I think I have the latest so it should be applied.
How do you guys build the kernel? Is there an additional flag that I would have to use?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 u-boot for eMMC Build Error mexicanflyer 0 1,040 09-18-2022, 02:29 PM
Last Post: mexicanflyer
  Rock 64 failure / kernel panic n0021913 2 1,679 07-07-2022, 01:16 PM
Last Post: anchor00
  Rock64 kernel panics clay 15 11,576 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Got an error message when trying to flash the Rock64 OS ilan 0 2,040 06-29-2020, 04:53 PM
Last Post: ilan
  BUilding everything from scratch (buildroot) lm- 9 9,704 01-23-2020, 05:27 AM
Last Post: tomarm
  Rock 64 network error as soon as I try to write or read. georgegohl888 1 2,950 03-12-2019, 09:35 AM
Last Post: georgegohl888
  Rock64 kernel compilation - configs acrobatbob 0 2,221 04-06-2018, 02:55 AM
Last Post: acrobatbob
  [Warning: root device does not exist] Can not install generic kernel on ROCK 64? pine3228 0 2,579 03-16-2018, 05:40 PM
Last Post: pine3228
  booting a kernel over tftp hibernick 0 1,796 03-08-2018, 10:37 AM
Last Post: hibernick
  I can't compile kernel !! part2 pine3228 1 2,290 02-05-2018, 03:52 AM
Last Post: xalius

Forum Jump:


Users browsing this thread: 1 Guest(s)