-
Notifications
You must be signed in to change notification settings - Fork 149
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
Strange error message on when excute the demo program on ARM #4
Comments
It looks like something is wrong with your platform. The executable is being run as a script, not an ELF file. I quickly searched for your error message in Google and it seems to be bringing up results about a missing |
Got it, thanks for your quick reply. But same environment, I can running the demo from modified pc-simulator repo: I will double check the environment of my target board, thanks |
What happens if you run |
Sorry, it works after I change the libc library from uclibc-ng to gnu-libc, maybe it need to add some parameter on Makefile I think. Anyway, thanks for your hint! |
Hi wigcheng, Could you please share how did you cross compile the littlevgl under buildroot? Thanks! |
Simple example: If your case is big project as littlevgl, you need modify the parameters such as CROSS_COMPILE in makefile, |
As title, my platform is ARM Cortex-A7 IMX6UL, OS is buildroot.
I compile success using cross-compile already, seems no any trouble.
BUT it shows the error message when I running this demo:
./demo: line 1: ELF����: not found
./demo: line 9: syntax error: unexpected "("
I think my cross-compile is no problem, I tried it on previous littlevgl demo before ( no lv_linux_frame_buffer repo in that time), hope can get some directions, thanks a lot.
The text was updated successfully, but these errors were encountered: