Error during compilation of skyeye-1.2.8_rc1

7 views
Skip to first unread message

Aditya Bankar

unread,
Jun 22, 2009, 11:17:36 PM6/22/09
to skyeye-simulator
Hi,

While compiling skyeye-1.2.8_rc1 on my ubuntu 9.04 with gcc version:
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 glibc version: 2.9-4ubuntu6 I get
following error:

gcc -DMODET -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -
DDEFAULT_INLINE=0 -I. -I.. -I./ -I../arch/arm -I../arch/arm/common -
I../utils/config -I../utils/main -I../utils/main -I../utils -I../
device -DLCD -DGTK_LCD -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/
gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/
usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -g -O2 -MT nandflash_smallblock.o -MD -
MP -MF .deps/nandflash_smallblock.Tpo -c -o nandflash_smallblock.o
`test -f 'nandflash/nandflash_smallblock.c' || echo './'`nandflash/
nandflash_smallblock.c
nandflash/nandflash_smallblock.c: In function ‘nandflash_sb_setup’:
nandflash/nandflash_smallblock.c:521: warning: incompatible implicit
declaration of built-in function ‘free’
nandflash/nandflash_smallblock.c:528: warning: incompatible implicit
declaration of built-in function ‘free’
nandflash/nandflash_smallblock.c:550: warning: incompatible implicit
declaration of built-in function ‘free’
nandflash/nandflash_smallblock.c:555: warning: format ‘%d’ expects
type ‘int’, but argument 2 has type ‘__off64_t’
nandflash/nandflash_smallblock.c:559: warning: incompatible implicit
declaration of built-in function ‘free’
nandflash/nandflash_smallblock.c:539: warning: ignoring return value
of ‘write’, declared with attribute warn_unused_result
nandflash/nandflash_smallblock.c: In function
‘nandflash_sb_uninstall’:
nandflash/nandflash_smallblock.c:612: warning: incompatible implicit
declaration of built-in function ‘free’
In function ‘open’,
inlined from ‘nandflash_sb_setup’ at nandflash/
nandflash_smallblock.c:519:
/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
make[2]: *** [nandflash_smallblock.o] Error 1
make[2]: Leaving directory `/experiments/skyeye-1.2.8_rc1/device'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/experiments/skyeye-1.2.8_rc1'
make: *** [all] Error 2

What should I do for this?

Thanks,
Aditya

Aditya Bankar

unread,
Jun 22, 2009, 11:44:33 PM6/22/09
to skyeye-simulator
I tried compiling skyeye-1.2.7_rc1 but got the same issue. Then tried
with skyeye-1.2.5_REL. It got compiled without any issue. Do you have
any suggestions for 1.2.7/8?

-Aditya

Michael.Kang

unread,
Jun 22, 2009, 11:51:14 PM6/22/09
to skyeye-s...@googlegroups.com
Thanks. That is due to that newest gcc enforce the usage of the mode
.Please read the post in the below and also a patch attached there :
http://groups.google.com/group/skyeye-simulator/browse_thread/thread/6b90ed30ab313148

Thanks
MK

2009/6/23 Aditya Bankar <bankar...@gmail.com>:
--
www.skyeye.org

Kovich Ian

unread,
Jul 20, 2009, 11:59:09 AM7/20/09
to skyeye-simulator
Please help to provide a patch file for 1.2.8_rc1.
Also please help to merge the change into svn for gcc>=4.3.

On 6月23日, 上午11時51分, "Michael.Kang" <blackfin.k...@gmail.com> wrote:
> Thanks. That is due to that newest gcc enforce the usage of the mode
> .Please read the post in the below and also a patch attached there :http://groups.google.com/group/skyeye-simulator/browse_thread/thread/...
>
> Thanks
> MK
>
> 2009/6/23 Aditya Bankar <bankaradi...@gmail.com>:

Michael.Kang

unread,
Jul 22, 2009, 5:22:44 AM7/22/09
to skyeye-s...@googlegroups.com
I attached the patch against skyeye-1.2.8_rc1 in the attachment. And
also committed it into skyeye-1.2.8 branch.

Thanks
MK

2009/7/20 Kovich Ian <day...@gmail.com>:
--
www.skyeye.org
skyeye_1_2_8_open_fix.diff
Reply all
Reply to author
Forward
0 new messages