[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] ld.real: cannot open crt0.o: No such file or directory while building agetty
Hi Olof,
Olof Backing wrote:
> On Fri, January 25, 2008 16:33, Olof Backing wrote:
>
>>romfs-inst.sh
>>/home/olof/svn/petalinux-v0.20-rc3/software/petalinux-dist/vendors/PetaLogix/common/etc/rc/ifconfig.lo
>>/etc/init.d/network
>>cp: cannot stat
>>`/home/olof/svn/petalinux-v0.20-rc3/software/petalinux-dist/vendors/PetaLogix/common/etc/rc/ifconfig.lo':
>>No such file or directory
>>
>>What's going on? I know this isn't the latest distribution, but I thought that I
>>should learn how this works by using a slightly older but more stable (?)
>>distribution that builds correctly.
>
>
> OK, by adding this file to PetaLogix/common/... the entire shebang made it all the
> way to the finishing line. But should I have to make all these additional fixes?
> Really? :)
Something is terribly wrong with your build process for all of this to
be necessary! IT could be to do with running on SuSe, but I cannot be
sure (CentOS / RHEL is recommended because that's what we test on).
For starters, you should select "none" as the C library in toplevel
menuconfig, this is a signal to the build system that you want to use
the built-in uClibc that is part of the microblaze-uclinux toolchain.
As a test, can you create simple hello.c file (just hello world). then do
$ source settings.sh (in petalinux toplevel dir)
$ microblaze-uclinux-gcc -o hello hello.c
and tell me the result. It should work cleanly.
Regards,
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/