OpenNuvoton / MA35D1_Yocto-v3.1.3

MA35D1 Yocto
2 stars 6 forks source link

M4-BSP-r0_failed : arm-none-eabi/bin/ld: read in flex scanner failed #7

Open yangjianying opened 4 months ago

yangjianying commented 4 months ago

i run "bitbake core-image-minimal" failed, whenver i use "DISTRO=nvt-ma35d1-directfb MACHINE=numaker-som-ma35d16a81 source sources/init-build-env build" or "DISTRO=nvt-ma35d1-directfb MACHINE=numaker-iot-ma35d16f90 source sources/init-build-env build"

from file located : user\yocto\build\tmp-glibc\work\numaker_iot_ma35d16f90-poky-linux\m4proj\M4-BSP-r0\build\gcc_log.txt all m4 bsp demo failed with the same error :

/home/user/yocto/build/tmp-glibc/work/numaker_iot_ma35d16f90-poky-linux/m4proj/M4-BSP-r0/recipe-sysroot-native/usr/share/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: read in flex scanner failed collect2: error: ld returned 1 exit status

yangjianying commented 4 months ago

seems that "sources\meta-ma35d1\recipes-devtools\nu-eclipse\nu-eclipse-native_v1.01.017.bb" use the old version nu-eclipse

ychuang3 commented 4 months ago

I just made a rebuild from scratch and it works fine. Do you build the yocto project under the docker environment?