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!
  Reply
#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?
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  BUilding everything from scratch (buildroot) lm- 8 874 07-12-2019, 03:30 AM
Last Post: hisstone
  Rock 64 network error as soon as I try to write or read. georgegohl888 1 124 03-12-2019, 09:35 AM
Last Post: georgegohl888
  Rock64 kernel compilation - configs acrobatbob 0 649 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 547 03-16-2018, 05:40 PM
Last Post: pine3228
  booting a kernel over tftp hibernick 0 267 03-08-2018, 10:37 AM
Last Post: hibernick
  I can't compile kernel !! part2 pine3228 1 355 02-05-2018, 03:52 AM
Last Post: xalius
  Unable to flash Android TV on eMMC: rkflashtool error fbossi 3 810 02-02-2018, 08:37 AM
Last Post: dannyboyw
Video Kernel Panic on Rock64 linux tanisou 15 2,048 09-09-2017, 04:48 PM
Last Post: rmbusy
  Emmc error muzam2 0 634 08-19-2017, 11:02 AM
Last Post: muzam2

Forum Jump:


Users browsing this thread: 1 Guest(s)