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

Re: [microblaze-uclinux] Re: how to compile mutilble C files with a multible headers in Uclinux platform



On Tue, Nov 17, 2009 at 6:34 PM, Ranga Babu P <p.rangababu@xxxxxxxxx> wrote:
>
> hello sir ,
> this is output
> make
> ucfront-gcc microblaze-uclinux-gcc  -c -Iinclude-lm -o obj/annexb.o allfiles/annexb.c
> allfiles/annexb.c:15:20: global.h: No such file or directory
> allfiles/annexb.c:16:20: annexb.h: No such file or directory
> allfiles/annexb.c:17:22: memalloc.h: No such file or directory

Your include path is missing a necessary path, to find these header
files.  You need to fix this, by adding -I</path/to/headers> in the
CFLAGS of the Makefile.

Also, it should not be using ucfront - most likely you have changed
the library option from "none" to "uClibc", against previous advice.
why?

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/