[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] errors on "make"
Hi, there,
I got some errors on making the uClinux for MicroBlaze.
I'm using microblaze-elf-tools-20050308 and the source checked out from the
CVS.
First, when I type "make" after all the configuration (Xilinx ML401). I got
an "ln" error in the dist/include folder. The message said "include/gcc"
already exists when trying to create the symbol link. So I changed the "ln
-s" in the Makefile to "ln -sf". The making then passed this stage.
However, I got another error in the dist/lib/zlib folder. It complained
about not being able to find some include files, e.g. "string.h". I found
there is the "-nostdinc" option. OK, I manually compiled it without the
"-nostdinc" option. It passed anyway. But I'm still wondering if it is
really ok?????
Next, there is a similar error as attached. It looks like the similar error
with the zlib folder. However, I don't think it's a good idea to keep
manually compiling it.
So my questions are:
1. Will the force link "ln -sf" cause the later "include file can not find"
problem?
2. Is the source checked from CVS reliable? Or I should apply some patch
first? BTW, the MicroBlaze-vendors-20050215.patch does not work well with
the CVS source.
3. Is there any special procedure for setting up the microblaze-elf-tools so
that some include files can be "seen" even with the "-nostdinc" option?
I feel it might just several lines setting up things. Could anyone shed me
some light on it?
Apologize in advance if I asked stupid questions as a freshman.
Thanks a lot for any help.
Regards
David
Attached the error message.
make[2]: Entering directory
`/home/deli/uclinux/src/uClinux-dist/user/agetty'
mb-gcc -Os -g -fomit-frame-pointer -fno-common -Wall -mno-xl-soft-mul
-mxl-barrel-shift -mno-xl-soft-div -Dlinux -D__linux__ -Dunix -D__uClinux__
-DEMBED -nostdinc -I/home/deli/uclinux/src/uClinux-dist/include
-I/home/deli/uclinux/src/uClinux-dist/include/include -fno-builtin
-D__USE_BSD -c -o agetty.o agetty.c
agetty.c:13: stdio.h: No such file or directory
agetty.c:14: unistd.h: No such file or directory
agetty.c:15: stdlib.h: No such file or directory
agetty.c:16: sys/ioctl.h: No such file or directory
agetty.c:17: termio.h: No such file or directory
agetty.c:18: signal.h: No such file or directory
agetty.c:19: errno.h: No such file or directory
agetty.c:20: sys/types.h: No such file or directory
agetty.c:21: sys/stat.h: No such file or directory
agetty.c:22: fcntl.h: No such file or directory
agetty.c:23: stdarg.h: No such file or directory
agetty.c:24: ctype.h: No such file or directory
agetty.c:25: utmp.h: No such file or directory
agetty.c:26: getopt.h: No such file or directory
agetty.c:27: memory.h: No such file or directory
agetty.c:28: sys/file.h: No such file or directory
agetty.c:31: sys/param.h: No such file or directory
agetty.c:39: syslog.h: No such file or directory
___________________________
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/