Dear dlt-daemon developer,

I came across a build error while building Excalibur image.

The exact error log is attached below.
The situation of the issue is that at first I built Excalibur image with 
MACHINE=vexpressa9, then next time, change it to MACHINE=dm814x-evm and built 
it, then the error happened. It seems dlt-daemon's Makefile still referred 
previous sysroot.
For a workaround, just clean the dlt-daemon, and rebuild again.

I am not sure this is bug or not, but please check the clean sequence of 
dlt-daemon if MACHINE value changes.

Sincerely,
Kaz Nishimura 

--- Error log ---
| 
/home/knishimu/working/excalibur/genivi-baseline/build/tmp-eglibc-eglibc/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-oe-linux-gnueabi/arm-oe-linux-gnueabi-gcc
   -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon 
-mtune=cortex-a9  
--sysroot=/home/knishimu/working/excalibur/genivi-baseline/build/tmp-eglibc-eglibc/sysroots/vexpressa9
  -O2 -g  -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon 
-mtune=cortex-a9  
--sysroot=/home/knishimu/working/excalibur/genivi-baseline/build/tmp-eglibc-eglibc/sysroots/vexpressa9
  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--as-needed  -Wl,-O1 
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,--as-needed   -o dlt-convert -rdynamic 
../lib/libdlt.so.2.9.0 -lrt -lpthread 
-Wl,-rpath,/home/knishimu/working/excalibur/genivi-baseline/build/tmp-eglibc-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/dlt-daemon-2.9.0-r0/git/src/lib:
| 
/home/knishimu/working/excalibur/genivi-baseline/build/tmp-eglibc-eglibc/sysroots/vexpressa9/usr/lib/crt1.o:
 In function `_start':
| init.c:(.text+0x34): undefined reference to `main'
| collect2: error: ld returned 1 exit status
| make[2]: *** [src/console/dlt-convert] Error 1
---
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to