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

RE: [microblaze-uclinux] errors on "make"



Hi, John,

I'm afraid that I can't make your patch and the
MicroBlaze-vendors-20050215.patch working with the CVS source. (Did I miss
some places looking for a patch?)

I wonder if you or anyone else could help to post a complete patch of a
working copy of the source again the CVS source, as the CVS is currently the
only way for me to check out the complete uCLinux source code.

BTW, if the CVS is not supported to be a working copy of the source code, is
there any known working release tag on it? As a beginner, I don't mind
having a couple of month old copy as long as it basically works.

With regards
David

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of John Williams
Sent: 09 September 2005 03:02
To: microblaze-uclinux@itee.uq.edu.au
Subject: Re: [microblaze-uclinux] errors on "make"

Hi David,

There is a bunch of small patches pending in the SnapGear tree that have
not yet made it to the public CVS for uClinux-dist.

Can you please try the attached patch?

Regards,

John

Deli Geng (David) wrote:

> 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/


-- 
Dr John Williams, Research Fellow,
Embedded Systems Group / Reconfigurable Computing
School of ITEE, The University of Queensland, Brisbane, Australia
(p) +61 7 33652185  (f) +61 7 33654999 (m) +61 403969243

___________________________
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/