|
在sourceforge.net上下载了skyeye-1.2.8_rc1.tar.gz
解压缩,进入目录安装,make时出错
/**************************************************************************************************************/
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 `/home/francois/SoftwarePackages/arm_linux_relatedfiles/skyeye-1.2.8_rc1/device'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/francois/SoftwarePackages/arm_linux_relatedfiles/skyeye-1.2.8_rc1'
make: *** [all] Error 2
/**********************************************************************************************************************/
我修改了文件 device/nandflash/nandflash_smallblock.c line 519
to if ((nf->fdump= open(dev->dump, FILE_FLAG,0666)) < 0)
重新make,编译通过...
sudo make install 又出错...
/*************************************************************************************************************************/
Making install in third-party/bfd/
make[1]: Entering directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd'
Making install in doc
make[2]: Entering directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd/doc'
test -z "/usr/local/info" || mkdir -p -- "/usr/local/info"
/usr/bin/install -c -m 644 './bfd.info' '/usr/local/info/bfd.info'
make[2]: Leaving directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd/doc'
Making install in po
make[2]: Entering directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd/po'
if test -r ..//./../mkinstalldirs; then \
..//./../mkinstalldirs /usr/local/; \
else \
../mkinstalldirs /usr/local/; \
fi
/bin/sh: ../mkinstalldirs: not found
make[2]: *** [install-data-yes] Error 127
make[2]: Leaving directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd/po'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd'
make: *** [install-recursive] Error 1
/***********************************************************************************************************************************/
谁来帮帮我,我知道用sudo apt-get install skyeye简单,但是我不想半途而费,而且用apt-get 安装的版本是1.2.3...不是最新的...
[ 本帖最后由 boy0673 于 2009-4-30 15:05 编辑 ] |
|