Andrea Galbusera <gizero <at> gmail.com> writes: > | In function 'open', > | inlined from 'collect_execute' at > /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/ gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:1575: > | /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: http://bugs.openembedded.net/show_bug.cgi?id=4871 You can find out why here: https://wiki.ubuntu.com/CompilerFlags#-D_FORTIFY_SOURCE=2 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 kernel sources. Once you add that third parameter, try again and it should work for you. Damien _______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
