fujinggui 发表于 2009-10-13 10:49:26

skyeye-1.2.8_rc1 编译不通过,那位达人看下。

编译环境:ubuntu 8.04

skyeye 是用arm-elf-gcc编译还是gcc编译呀?

我用的gcc 版本 4.3.3 (Ubuntu 4.3.3-5ubuntu4)


make: 正在进入目录 `/arm/skyeye-1.2.8_rc1/device'
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      -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: 在函数‘nandflash_sb_setup’中:
nandflash/nandflash_smallblock.c:521: 警告: 隐式声明与内建函数‘free’不兼容
nandflash/nandflash_smallblock.c:528: 警告: 隐式声明与内建函数‘free’不兼容
nandflash/nandflash_smallblock.c:550: 警告: 隐式声明与内建函数‘free’不兼容
nandflash/nandflash_smallblock.c:555: 警告: 格式‘%d’需要类型‘int’,但实参 2 的类型为‘__off64_t’
nandflash/nandflash_smallblock.c:559: 警告: 隐式声明与内建函数‘free’不兼容
nandflash/nandflash_smallblock.c:539: 警告: 忽略声明有 warn_unused_result 属性的‘write’的返回值
nandflash/nandflash_smallblock.c: 在函数‘nandflash_sb_uninstall’中:
nandflash/nandflash_smallblock.c:612: 警告: 隐式声明与内建函数‘free’不兼容
在函数‘open’中,
    内联自‘nandflash_sb_setup’于 nandflash/nandflash_smallblock.c:519:
/usr/include/bits/fcntl2.h:51: 错误: 调用‘__open_missing_mode’,声明有错误属性:open with O_CREAT in second argument needs 3 arguments
make: *** 错误 1
make:正在离开目录 `/arm/skyeye-1.2.8_rc1/device'
make: *** 错误 1
make:正在离开目录 `/arm/skyeye-1.2.8_rc1'
make: *** 错误 2

fujinggui 发表于 2009-10-13 11:10:47

用skyeye-1.2.5可以编译通过,但skyeye hello出现下面的错误
(gdb) tar s
cpu info: armv3, arm7tdmi, 41007700, fff8ff00
mach info: name at91, mach_init addr 0x8115734
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
"log" option has exceeded max number 1!
skyeye_read_config: config file skyeye.conf have errors!


helloworld是从这个网站下的,配置文件应该不会错呀,咋回事阿?

ksh 发表于 2009-10-14 10:54:11

回复 1# fujinggui 的帖子

http://groups.google.com/group/skyeye-simulator/browse_thread/thread/19cd5d1e94e0ee71
页: [1]
查看完整版本: skyeye-1.2.8_rc1 编译不通过,那位达人看下。