[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] can't find stdio.h
Thanks for the reply,
If I'm understanding you correctly I need to have my
"hello world" project directory in the same directory
where the uCLinux-dist directory is located, which I
do. To phrase it a little more clearly I have a
linux_code directory and in it there is a directory
called hello_app, which has my code file and makefile
for the hello world program. The uclinux-dist
directory, which I download directly from the website,
is also located in this linux_code directory. Is that
correct?
I have looked in the ~/uclinux-dist/include and in the
~/uclinux-dist/include/include directories and neither
one has a stdio.h file. If you do a search for
stdio.h in all of the directories under uclinux-dist
you will find that there is over ten stdio.h files
dispersed thoughout it. I would assume that these
different stdio.h files are for different processor
and setups, etc., and that the correct one gets
included by the choices you make when you do 'make
menuconfig'. (Is this a correct assumption?)
When I try to build the kernel (i.e., 'make'), after
following the process on the website ('make
menuconfig' and 'make dep') it will compile for about
ten to fifteen minutes but always fails for the same
reason, 'can't find stdio.h'. It seems to me that I
am missing some critical piece of the
setup/configuration that allows it to know which
stdio.h file to include. I would not rule out
anything at this point though because I am a fairly
newbie programmer so any suggestions would be
welcomed.
Thanks again,
John
--- Paul Hartke <phartke@stanford.edu> wrote:
> Check the directory stucture. The directory you are
> compiling the user app
> in must be on the same level as the uClinux-dist
> files. That is, "ls
> -lasrt ../uClinux-dist/include/stdio.h" should find
> the include file. If
> you are compiling from elsewhere then
> "ROOTDIR=../uClinux-dist" must be
> changed.
>
> Paul
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/