Denys Dmytriyenko <denis@...> writes: > > On Fri, Nov 07, 2014 at 03:54:45PM -0500, Denys Dmytriyenko wrote: > > On Fri, Nov 07, 2014 at 08:43:38PM +0000, Burton, Ross wrote: > > > On 7 November 2014 19:41, Denys Dmytriyenko <denis@...> wrote: > > > > > > > > | scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: word > > > > > unexpected (expecting ")") > > > > > > > > > > I suspect the real problem is: > > > > > > > > > > $ file fixdep > > > > > fixdep: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically > > > > > linked (uses shared libs), for GNU/Linux 2.6.32, > > > > > BuildID[sha1]=0xb4ea84a189f10b4f3e08fb10f8e490135e2b920c, not stripped > > > > > > > > > > It appears to have been built using the target compiler, not the host. > > > > > > > > Ross, > > > > > > > > I'm a bit lost here - as you said above, this is a target build and yet you > > > > say it shouldn't use the target compiler. Can you please explain what you > > > > mean? > > > > > > > > > Yes, it's building a binary (fixdep) and then executing it. That binary > > > needs to be built with the host compiler (BUILD_CC). > > > > > > Easily replicated for me with "MACHINE=qemuarm bitbake u-boot-mkimage". > > > > Ah, got it. Didn't realize, as I build -native version. Give me a sec to fix > > it. BTW, 2014.10 is out and I've been using it for a bit now - planning on > > sending the update soon... > > Ross, > > I've just sent an RFC patch to allow building mkimage for the target. I'd like > to collect feedback for it first, but feel free to squash it with the previous > patch, if it's accepted (or commit separately - your choice). The update to > 2014.10 will follow shortly, I just want this version to get through first, as > it has been in limbo for a few months... >
I am encountering this problem while compiling my driver code for beagle bone black. scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: word unexpected (expecting ")") make[2]: *** [/home/venkyvenkatesh/Driver_Compiler/driver_code.o] Error 2 make[1]: *** [_module_/home/venkyvenkatesh/Driver_Compiler] Error 2 make[1]: Leaving directory `/home/venkyvenkatesh/Driver_Compiler/usr/src/linux-3.14.4.1-bone-armhf.com' make: *** [all] Error 2 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
