Aditya Bankar
unread,Jun 22, 2009, 11:17:36 PM6/22/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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