AnsweredAssumed Answered

LPCXpresso Build Failed due to Auto Generated Files

Question asked by Johan Daniel on Jun 26, 2019
Latest reply on Jul 24, 2019 by Mario Ignacio Castaneda Lopez

Hi,

 

I am using JN-AN-1217 Application note as our base for JN5179 Application Development.

We just created our setup in Linux Environment.

We have installed LPCXpresso v7.9.2 [Build 493] [2015-09-14] .

 

First I placed this APK in /root/LPCXpresso/workspace. but I couldn't build my project.

   As it was showing no rule to make target.

 

Then I realized and placed my APK in /usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples.

Here When i perform Clean operation. it works as expected.

But when I build for any one of the configuration ( Coordinator,JN5179,DR1199 ) , It actually starts building the Project but every time it stops at the same point and shows 

 

19:05:40 **** Build of configuration Coord

19:05:40 **** Build of configuration Coordinator, JN5179, DR1199 for project JN-AN-1217-Zigbee-3-0-Base-Device ****
make JENNIC_CHIP_FAMILY=JN517x JENNIC_CHIP=JN5179 DR=DR1199 GROUPS=0 ICODES=1 APP_NTAG_ICODE=0 APP_NTAG_AES=0 all
Using LPC XPresso toolchain
Using gcc-ar
JENNIC_MAC is Mini MAC shim
JENNIC_MAC_PLATFORM is SOC
Building trace version ...

...

...

...

...

...
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:528:1: warning: initialization makes integer from pointer without a cast
 PRIVATE ZPS_tsAplApsmeBindingTable s_bindingTable = { 0, s_bindingTableStorage, 4 };
 ^
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:528:1: warning: (near initialization for 's_bindingTable.u32SizeOfBindingTable')
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:528:1: warning: excess elements in struct initializer
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:528:1: warning: (near initialization for 's_bindingTable')
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:552:5: warning: large integer implicitly truncated to unsigned type [-Woverflow]
     0x00000800UL,
     ^
Makefile:385: recipe for target '/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Build/zps_gen.o' failed
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:567:5: warning: large integer implicitly truncated to unsigned type [-Woverflow]
     0x1770,
     ^
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:568:5: warning: initialization makes integer from pointer without a cast
     au32IncomingFrameCounter,
     ^
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:568:5: warning: (near initialization for 's_sAplAib.u16ApsSecurityTimeOutPeriod')
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:568:5: error: initializer element is not computable at load time
/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Source/zps_gen.c:568:5: error: (near initialization for 's_sAplAib.u16ApsSecurityTimeOutPeriod')
make: *** [/usr/local/lpcxpresso_7.9.2_493/lpcxpresso/Examples/Zoning_System/Coordinator/Build/zps_gen.o] Error 1

19:05:41 Build Finished (took 1s.266ms)

 

I can not understand where is the Problem actually.

Please help.

 

Outcomes