Dear Jan,
I'm a little busy at the moment, but can take a look later as well.
Do you already have some MIPS64 silicon you target? Our company (ExactCODE,
http://www.exactcode.com) can also help you in any T2 related
development if you
require some expertise in Embedded Linux matters.
Regards,
René
Jan Rovins wrote:
Hi again,
In continuing with my basic build of embedded-minimal on mips64, I am
now getting a busy box link error.
It seems that my target has a usr/lib64 dir set up, but my linker
wants to link with a usr/lib32 directory.
Attached is my target configuration & full ERROR-LOG
==========
/opt/T2/t2-trunk/build/EmbdMips64-8.0-trunk-embedded-minimal-mips64-EB-cross/TOOLCHAIN/tools.cross/crosscc/../lib64/gcc/mips64-t2-linux-gnu/4.3.2/../../../../mips64-t2-linux-gnu/bin/ld:
crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
Due to previous errors, no 1-busybox.log file!
(Try enabling xtrace in the config to track an error inside the build
system.)
--- BUILD ERROR ---
There is a link error where it can't find "crt1.o"
My crt1.o is in ....usr/lib64
find . -name crt1.o
./build/EmbdMips64-8.0-trunk-embedded-minimal-mips64-EB-cross/usr/lib64/crt1.o
My linker does not have lib64 in it's path, only lib32:
cd
/opt/T2/t2-trunk/build/EmbdMips64-8.0-trunk-embedded-minimal-mips64-EB-cross/TOOLCHAIN/tools.cross/mips64-t2-linux-gnu/bin/
./ld --verbose
GNU ld (Linux/GNU Binutils) 2.19.51.0.1.20090106
Supported emulations:
elf32btsmipn32
elf32ltsmipn32
elf32btsmip
elf32ltsmip
elf64btsmip
elf64ltsmip
using internal linker script:
==================================================
/* Script for -z combreloc: combine and sort reloc sections */
OUTPUT_FORMAT("elf32-ntradbigmips", "elf32-ntradbigmips",
"elf32-ntradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(__start)
SEARCH_DIR("/opt/T2/t2-trunk/build/EmbdMips64-8.0-trunk-embedded-minimal-mips64-EB-cross/TOOLCHAIN/tools.cross/usr/mips64-t2-linux-gnu/lib32");
SEARCH_DIR("=/usr/local/lib32"); SEARCH_DIR("=/lib32");
SEARCH_DIR("=/usr/lib32"); SEARCH_DIR("=/usr/local/lib");
SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
How to fix this?
Thanks,
Jan
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2