Hello again !
I've finally have my on kernel working in my on setup ! yey !! it works for some time and evetually crash, simp!
le
stopping ... I'll have to seek what is wrong ... but that is for later.
For now, I just want to compile some aplications and use it in the board. I tryied to accomplish that following Wiki's page, but have no success ... I searched the email list and everyone points to that page.
Here is the deal :
I made a simple Hello World, created the Makefile (I even copied/pasted the code to make sure it was correct) and typed make. Unfortunatelly, even a make clean don't work, it gives this error :
-bash-3.00$ make clean
Makefile:18: *** missing separator. Stop
The 18th line is:
$(CC) $(LDFLAGS) -o $@ $(HELLO_OBJS) $(LDLIBS)
Now what, if everyone use it ??
I don't know if ! it means something, but vi marks this line red :
-rm -f $(HELLO) *.elf *.gdb *.o
!
I have
mb-gcc in the path (if I type mb-gcc it say 'no input file'), the Makefile is a copy/paste from the wiki, the only thing I think is the Linux. I'm using Fedora 3, which is basically a Red Hat :
-bash-3.00$ cat /proc/version
Linux version 2.6.13 (root@xxxxxxxxxxxxxxxxxxx) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #2 SMP Wed Sep 14 14:04:12 UTC 2005
-bash-3.00$ uname -a
Linux ibiza.acad.unisc.br 2.6.13 #2 SMP Wed Sep 14 14:04:12 UTC 2005 i686 i686 i386 GNU/Linux
I think it should compile correctly, because I can build the kernel, why wouldn't it compile a hello world ?
I didn't try to make it 'in the tree' yet, because I really wasn't willing to build the kernel over and over again just because some minor changes in my app ...
Any guess ?
Thanks !
Arthur
Yahoo! Search
Dê uma espiadinha e saiba tudo !
sobre o
Big Brother Brasil.