Hello:
When I use the example“E:\NXP\AUTOSAR\S32K_AUTOSAR_OS_4_0_98_RTM_1_0_0sample\standard\sc1” to compile, there is always a problem that sample1_cfg.o cannot be generated.(Os_prop.h,sample1_cfg.c already generated)How can I solve it,thank you!
The tool chain I use is ../redist/make381.exe provided by the example,at cygwin
The error is as follows:
E:/NXP/AUTOSAR/AS32K_AUTOSAR4098/redist\/bin/-gcc.exe -c -O1 -ggdb3 -mcpu=cortex
-m4 -mthumb -mlittle-endian -fomit-frame-pointer -mhard-float -fno-common -Wall
-Wextra -Wstrict-prototypes -Wno-sign-compare -Werror=implicit-function-declarat
ion -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DOSGCCARM -I. -I. -I. -I. -IE:\\NXP\\AUT
OSAR\\AS32K_AUTOSAR4098\\ssc\\other_includes -IE:\\NXP\\AUTOSAR\\AS32K_AUTOSAR40
98\\sample\\standard\\includes -DS32K142 -IE:/NXP/AUTOSAR/AS32K_AUTOSAR4098/samp
le/standard/sc1/src -IE:/NXP/AUTOSAR/AS32K_AUTOSAR4098/ssc/hwspec -IE:/NXP/AUTOS
AR/AS32K_AUTOSAR4098/sample/standard/sc1/output_gccarm_oil/obj -IE:/NXP/AUTOSAR/
AS32K_AUTOSAR4098/ssc/inc -DAPPTYPESH="<sample.h>" -DOSCFGH="<sample1_cfg.h>"
-D"<Os_cfg.h>"="\"E:/NXP/AUTOSAR/AS32K_AUTOSAR4098/sample/standard/sc1/output_g
ccarm_oil/obj/Os_prop.h\"" E:\\NXP\\AUTOSAR\\AS32K_AUTOSAR4098\\sample\\standard
\\sc1\\output_gccarm_oil\\obj\\sample1_cfg.c -o E:\\NXP\\AUTOSAR\\AS32K_AUTOSAR4
098\\sample\\standard\\sc1\\output_gccarm_oil\\obj\\sample1_cfg.o
/usr/bin/sh: =\\E:/NXP/AUTOSAR/AS32K_AUTOSAR4098/sample/standard/sc1/output_gcca
rm_oil/obj/Os_prop.h\\: No such file or directory
../common_rules.mak:110: recipe for target 'E:\NXP\AUTOSAR\AS32K_AUTOSAR4098\sam
ple\standard\sc1\output_gccarm_oil\obj\sample1_cfg.o' failed
make: *** [E:\NXP\AUTOSAR\AS32K_AUTOSAR4098\sample\standard\sc1\output_gccarm_oi
l\obj\sample1_cfg.o] Error 1
/usr/bin/sh: =\\E:/NXP/AUTOSAR/AS32K_AUTOSAR4098/sample/standard/sc1/output_gcca
rm_oil/obj/Os_prop.h\\: No such file or directory
Let's check whether this is a valid path? or this header file is included in your include paths setting of your project?