Error when building kernel - realtek

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/ recipe for target 'drivers/net/wireless' failed
make[2]: *** [drivers/net/wireless] Error 2
scripts/ 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?

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/ 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 kernel panics clay 15 1,983 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Got an error message when trying to flash the Rock64 OS ilan 0 1,235 06-29-2020, 04:53 PM
Last Post: ilan
  BUilding everything from scratch (buildroot) lm- 9 5,224 01-23-2020, 05:27 AM
Last Post: tomarm
  Rock 64 network error as soon as I try to write or read. georgegohl888 1 1,526 03-12-2019, 09:35 AM
Last Post: georgegohl888
  Rock64 kernel compilation - configs acrobatbob 0 1,543 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 1,746 03-16-2018, 05:40 PM
Last Post: pine3228
  booting a kernel over tftp hibernick 0 1,153 03-08-2018, 10:37 AM
Last Post: hibernick
  I can't compile kernel !! part2 pine3228 1 1,388 02-05-2018, 03:52 AM
Last Post: xalius
  Unable to flash Android TV on eMMC: rkflashtool error fbossi 3 3,165 02-02-2018, 08:37 AM
Last Post: dannyboyw
Video Kernel Panic on Rock64 linux tanisou 15 9,319 09-09-2017, 04:48 PM
Last Post: rmbusy

Forum Jump:

Users browsing this thread: 1 Guest(s)