compile helloworld project error,help!

内核编译和嵌入式产品的设计与开发
回复
yz811020
帖子: 4
注册时间: 2009-03-13 23:04

compile helloworld project error,help!

#1

帖子 yz811020 » 2009-03-14 22:26

sorry everyone, i don't know how to install chinese input.so only english input.

when i compile helloworld project,some error as below,please tell me how to fix this problem.thanks.

root@shawn-desktop:/home/shawn/work/helloworld# ls
hello.c hello.c~ makefile makefile~
root@shawn-desktop:/home/shawn/work/helloworld# make
make -C /lib/modules/2.6.27.2/build M=/home/shawn/work/helloworld modules
make[1]: Entering directory `/usr/src/linux-source-2.6.27'
scripts/Makefile.build:41: /home/shawn/work/helloworld/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/shawn/work/helloworld/Makefile'. Stop.
make[1]: *** [_module_/home/shawn/work/helloworld] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.27'
make: *** [modules] Error 2
root@shawn-desktop:/home/shawn/work/helloworld#
yz811020
帖子: 4
注册时间: 2009-03-13 23:04

Re: compile helloworld project error,help!

#2

帖子 yz811020 » 2009-03-14 23:02

so simple question.sorry everyone.i got a solution.remame makefile to Makefile.thanks
回复