[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] "Out of tree" works in Fedora ? - Inside neither



Well, to make sure I could build it, I tryed to build that hello world inside of tree, without luck. I get the same error :

make[2]: Leaving directory `/home2/adi_mohr/uClinux-dist/user/hd'
make[2]: Entering directory `/home2/adi_mohr/uClinux-dist/user/hello'
Makefile:7: *** missing separator.  Stop.
make[2]: Leaving directory `/home2/adi_mohr/uClinux-dist/user/hello'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home2/adi_mohr/uClinux-dist/user'
make: *** [subdirs] Error 1
-bash-3.00$

That 7th line is the exactly the same line as pointed below ...

Now I'm really lost ...

Adilson <adimbox-uclinux@xxxxxxxxxxxx> escreveu:
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.


Yahoo! Acesso Grátis
Internet rápida e grátis. Instale o discador agora!