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

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



Wonderful !
Now it worked correctly !
I wasn't aware to use tabs ... VI show those lines in red, I didn't undestand why back then, now is all clear.

Thanks for the tip John !

John Williams <jwilliams@xxxxxxxxxxxxxx> escreveu:
Hi Arthur,

A. Arthur Mohr wrote:
> 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: *** [subdir! s] Error 1
> -bash-3.00$

Be careful with Makefiles - it is necessary to use tabs, not spaces, in
the rules.. This can cause problems when cutting and pasting the
Makefile example from the Wiki.

It should be

target:
<>rule

Does this help? If so we can edit the Wiki to point that out.

Cheers,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



Yahoo! doce lar. Faça do Yahoo! sua homepage.