ld: cannot open crt1.o
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 21 lines · Ricardo Nabinger Sanchez
I'm trying to get my mipsel-linux environment to work, but no success:
% mipsel-linux-gcc
test.c/usr/local/lib/gcc-lib/mipsel-linux/2.97/../../../../mipsel-linux/bin/ld:
cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
Exit 1% cat
test.cint main() { return 0; }% fgrep crt1.o -r
/var/db/pkg/mipsel-linux-*
Exit 1Here there's only the crt1.o from the base gcc (not the MIPS one):
% find /usr -type f -name crt1.o/usr/lib/crt1.o
Quoted 6 lines
I feel like clearly missing something very basic here. Aren't these ports enough?
devel/mipsel-linux-binutils
devel/mipsel-linux-gcc
devel/mipsel-linux-kernel-headers
crt1.o is part of glibc; you only seem to have installed cross versions of binutils and gcc.
Ralf
Quoting Ralf Baechle <[email protected]>
Sent on Fri, 28 Jul 2006 15:42:04 -0400
Quoted 2 lines
crt1.o is part of glibc; you only seem to have installed cross versions of binutils and gcc.
Yes, I installed the mipsel-* packages from ports, on 6.1-STABLE. Does it have to be glibc or can it be uClibc?
Anyway, I'll check my possibilities. In case of further problems, I bug you guys again.
Thanks.
ps: please note that I'm on a FreeBSD box.
Signature · 4 lines
Ricardo Nabinger Sanchez <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD
"Left to themselves, things tend to go from bad to worse."