tclap-1.2.1-r0 do_compile: oe_runmake failed

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

tclap-1.2.1-r0 do_compile: oe_runmake failed

1,069 Views
sam_wu
Contributor I

I met an build ERROR about below message:

But I'm not sure what's the mean about this error message. Does any one could help on this? Thank you.

ERROR: tclap-1.2.1-r0 do_compile: oe_runmake failed
ERROR: tclap-1.2.1-r0 do_compile: Function failed: do_compile (log file is located at /home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0/temp/log.do_compile.4489)
ERROR: Logfile of failure stored in: /home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0/temp/log.do_compile.4489

| make[1]: Entering directory '/home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0/build/examples'
| aarch64-poky-linux-g++ --sysroot=/home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0/recipe-sysroot -Wall -Wextra -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0=/usr/src/debug/tclap/1.2.1-r0 -fdebug-prefix-map=/home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0/recipe-sysroot= -fdebug-prefix-map=/home/samwu/NXP/build/tmp/work/aarch64-poky-linux/tclap/1.2.1-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Weffc++ -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o test1 test1.o

............

| test1.o: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| Makefile:393: recipe for target 'test1' failed
| make[1]: *** [test1] Error 1
| make[1]: *** Waiting for unfinished jobs....
| test3.o: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| test4.o: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| test2.o: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| Makefile:449: recipe for target 'test3' failed
| make[1]: *** [test3] Error 1
| Makefile:453: recipe for target 'test4' failed
| make[1]: *** [test4] Error 1
| Makefile:437: recipe for target 'test2' failed
| make[1]: *** [test2] Error 1
| test5.o: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| Makefile:457: recipe for target 'test5' failed
| make[1]: *** [test5] Error 1
| test7.o: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| test8.oMakefile:465: recipe for target 'test7' failed
| : filemake[1]: *** [test7] Error 1
| not recognized: File truncated
| collect2: error: ld returned 1 exit status
| test6.o: file not recognized: FileMakefile:469: recipe for target 'test8' failed

Best Regards,
Sam

Tags (2)
0 Kudos
1 Reply

911 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Sam,

I was not able to reproduce this error. Tclap is not part of the standard images on the BSP Releases but the recipe did work correctly on the latest BSP Release.

You do not specify which BSP you are using but there are some variables to consider including your Host OS (Ubuntu 16.04 is highly recommended) and having all the packages required in the i.MX Yocto User’s Guide.

If the problem continues sometimes running a clean and then baking again may help, as the problem does not appear to be related with the recipe having parsing or fetching problems but rather the compile process not being successful.

Would you please provide more details on your setup?

Regards,

0 Kudos