大表哥 发表于 2004-9-6 10:54:33

编译ucosii for skyeye问题,大侠给看看呀??

进入解压生成的目录下,编译ucosii for skyeye:
cd ucosii4skyeye
make config
make dep
make
在make dep的时候总是提示:make: *** No rule to make target `dep'.Stop.
我已经按照readme的说明,copy the file libc.a to LIBPATH by hand.
同时,我也修改了ucosii4skyeye目录下的makefile文件,添加了两条语句:
CROSS_COMPILE   = arm-elf-
LIBPATH = -L/usr/local/lib/gcc-lib/arm-elf/2.95.3/
我看了一下在测试程序中都没有*.elf文件(说明上是要存在 skyeye.conf和*.elf文件才可以测试程序的呀)
大家给看看呀????

大表哥 发表于 2004-9-7 19:45:24

怎么没有人回答呀,郁闷?

frog 发表于 2004-9-8 16:03:20

我也碰到同样的问题,那位大虾来救命啊

halfyear 发表于 2004-9-9 11:53:04

(from chyyuu)
makefile的问题。
我们以前是直接到 ucosii4skyeye/samples/simple_test下make的。
makefile更新了。
请下载 ucosii4skyeye-1.8.4试试!

frog 发表于 2004-9-15 21:45:33

下了最新的1.8.4,还是一样的,已经安装arm-elf-tools-20030314.sh,
那位大虾指点一下迷津??

chyyuu 发表于 2004-9-16 11:19:21

make config 报错了吗?
arm-elf-gcc 可以运行吗?

frog 发表于 2004-9-16 19:55:06

make config 报错,arm-elf-gcc 可以运行.麻烦大虾再看看

# make config
building target platform is /bin/sh: line 1: test: =: unary operator expected
/bin/sh: line 1: test: =: unary operator expected
???
------------------------------------------
I can not guess the host operation system
please set OSTYPE variable in rules.make !
or execute command export OSTYPE=linux-gnu
in bash shell, if your host system is linux.
or execute commands export OSTYPE=cygwin
in cygwin bash shell, if your host system is cgwin.
Then you should try make config again!
------------------------------------------
Hint: next, you can "make dep" this project now...
#

halfyear 发表于 2004-9-16 20:01:39


#export OSTYPE=linux-gnu

#make config

frog 发表于 2004-9-16 22:49:28

搞定,本来提示信息里面就有,没注意看,谢谢!

chyyuu 发表于 2004-9-17 08:57:08

看来还是要仔细呀。
页: [1]
查看完整版本: 编译ucosii for skyeye问题,大侠给看看呀??