[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Some solutions to common compiling problems
Morning all
I'm completely new to FPGA, cross compiling, development under Linux and
Microblaze. I've ran into some problems over the last week or two, and I
have seen the same problems raised on this list, or the uClinux list, but
without any answers that I could find. So here are some for future
prosperity:
1. "realpath(/include) failed, No such file or directory"
Your path to the mb tool chain isn't set up, or it is not before your x86
tool chain.
Run "export PATH=/usr/local/microblaze-elf-tools/bin:${PATH}", if that is
the path to your tools.
2. mb-ld gives "Segmentation fault"
Do not make crypt_old manually with "make" and "ranlib" as this uses cc to
compile an x86 lib, which mb-ld doesn't like. It uses cc on my pc anyway,
might have something set up wrong. If you did run "make" in the libcrypt_old
folder, then go back to it and run "make clean" and look at 3.
3. "cannot find -lcrypt-old"
In the menuconfig there is an option to force the build of Crypt_Old. It is
under "Customize Vendor/User Settings" -> "Library Configuration" -> "Build
libcrypt_old". Shouldn't this option be set in the source in CSV? That would
solve allot of beginner problems.
4. "linux.ld:606 nonconstant expression for origin"
Lmb_memory has not been set on the "Library and OS Parameters" screen in EDK
Thank you,
Errol
___________________________
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/