Unable to build android image suddenly

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to build android image suddenly

506 Views
ASTRIHK
Contributor III

Hi,

My current platform is based on android_KK4.4.3_2.0.0-ga_core_source & sabresd EVB. I could build the android image before. But today built error is shown as below, please kindly advise. I have cleaned the folder /obj.

CC [M]  /myandroid/hardware/imx/wlan/atheros/compat-wireless/drivers/net/wireless/ath/ath6kl/debug.o

In file included from /myandroid/hardware/imx/wlan/atheros/compat-wireless/drivers/net/wireless/ath/ath6kl/debug.c:25:0:

/myandroid/hardware/imx/wlan/atheros/compat-wireless/drivers/net/wireless/ath/ath6kl/debug.h: In function 'ath6kl_dbg_dump':

/myandroid/hardware/imx/wlan/atheros/compat-wireless/drivers/net/wireless/ath/ath6kl/debug.h:87:3: error: 'KBUILD_MODNAME' undeclared (first use in this function)

/myandroid/hardware/imx/wlan/atheros/compat-wireless/drivers/net/wireless/ath/ath6kl/debug.h:87:3: note: each undeclared identifier is reported only once for each function it appears in

0 Kudos
1 Reply

358 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Jackie Chau,

If you haven’t changed anything perhaps cleaning up and building again may help. You can clean up the build directory with the following command and then try again.

$ make clobber

0 Kudos