Headless build displaying java error after completion

cancel
Showing results for 
Search instead for 
Did you mean: 

Headless build displaying java error after completion

190 Views
roy_vanlierop
Contributor III

I'm trying to automate my build by performing a pre-commit hook and halting the commit on error. The following command is used to clean+build all four build configurations of a single project. 

C:\NXP\S32DS.3.4\eclipse\eclipsec  -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild  -data C:\local_projects\MyWonderfulWorkspaceS32DS -cleanBuild proj_name

After the build (of all four configurations) completes the following error appears. It seems to be the last step of the command. 

roy_vanlierop_0-1632733981502.png

Even when first removing all configuration output folders, the error still persists. Looking at the output a lot of warnings display about Eclipse and Java:

PS C:\local_projects\proj_name Firmware> C:\NXP\S32DS.3.4\eclipse\eclipsec  -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild  -data C:\local_projects\MyWonderfulWorkspaceS32DS -cleanBuild proj_name
Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.lib.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.lib.

log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot).
log4j:WARN Please initialize the log4j system properly.
11:33:03 **** Clean-only build of configuration Debug_S32K146 for project BDS_SA ****
make -j4 clean
make: *** No rule to make target 'clean'.  Stop.
"make -j4 clean" terminated with exit code 2. Build might be incomplete.

11:33:03 Build Failed. 1 errors, 0 warnings. (took 475ms)

11:33:04 **** Build of configuration Debug_S32K146 for project proj_name ****
make -j4 all

What could be the problem?

0 Kudos
2 Replies

173 Views
jiri_kral
NXP Employee
NXP Employee

Hi ,

 

What is the compiler you like to use for building project? 

146 Views
roy_vanlierop
Contributor III

I'm using NXP GCC 6.3 for Arm 32-bit Bare-Metal 

0 Kudos