Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yangjianying opened this issue Jun 4, 2024 · 2 comments

Comments

@yangjianying
Copy link

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
Copy link
Author

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

@ychuang3
Copy link
Contributor

ychuang3 commented Jun 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants