gcc-cross-kernel-3.3.4_3.3.4do_compile failed on ubuntu intrepid
openembedded-dpe at temporaryforwarding.com
Wed Dec 3 02:42:58 CET 2008
Andrea Galbusera <gizero <at> gmail.com> writes:
> | In function 'open',
> | inlined from 'collect_execute' at
> | /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
> declared with attribute error: open with O_CREAT in second argument
> needs 3 arguments
I'm pretty new to this stuff as well, but you'll find this will happen a lot.
I've found this with libxml among other things:
You can find out why here:
In short, more
recent distributions will check some things, in this case that the function
"open" is supplied with 3 parameters if O_CREAT is passed as the second.
I have fixed these by editing the offending file myself, but the trick is what
the third parameter should be. You might be able to find it in the latest
Once you add that third parameter, try again and it should work for you.
More information about the Openembedded-users