Please Someone Help Finish my LineageOs Build

Can someone please help me to finish my LineageOs build, I did make my own device and vendor tree I'm using prebuilt kernel.
I dont what is this error or how to fix.

system/netd/server/SoftapController.cpp:156:17: error: unused parameter 'ifname' [-Werror,-Wunused-parameter]
const char *ifname) {
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/neverson/android/system/out/target/product/omega/obj/EXECUTABLES/netd_intermediates/SoftapController.o' failed
make: *** [/home/neverson/android/system/out/target/product/omega/obj/EXECUTABLES/netd_intermediates/SoftapController.o] Error 1

make: Leaving directory '/home/neverson/android/system'
#### make failed to build some targets (01:08:21 (hh:mm:ss)) ####

Comments

  1. Hi,

    This error is generally due to not having LIBWPA_CLIENT_EXISTS flag enabled
    either you can try
    $ export LIBWPA_CLIENT_EXISTS=true
    if this not solves your issue then check Android.mk of the project

    system/netd/server/Android.mk
    Here it is showing that LIBWPA_CLIENT_EXISTS depends on WPA_SUPPLICANT_VERSION

    ifdef WPA_SUPPLICANT_VERSION
    LOCAL_CFLAGS += -DLIBWPA_CLIENT_EXISTS
    LOCAL_SHARED_LIBRARIES += libwpa_client
    LOCAL_C_INCLUDES += external/wpa_supplicant_8/src/common
    endif

    You can find this flag WPA_SUPPLICANT_VERSION somewhere inside vendor/chipset/proprietary/common

    Hope this helps.

    Thanks
    Girish

    ReplyDelete

Post a Comment

Popular posts from this blog

Rooted and internal/sd both not working properly

Problema Huawei Y560 L01

Android 5.0 on Asus ME181C K011