Error beim kompilieren von Perl-Modulen - arm-marvell-linux-gnu-ld: Command not found

Status
Für weitere Antworten geschlossen.

poenni

Benutzer
Mitglied seit
09. Mrz 2009
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Modellname DS107+
Firmware-version DSM 2.0-0731

Bootstrap ist installiert (ipkg-77le35)

GCC ist via ipkg installiert:
ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/gcc_3.4.6-4_arm.ipk

Make ist ebenfalls per ipkg installiert:
make - 3.81-2

Ein aktuelleres Perl ist auch installiert:
which perl
/opt/bin/perl
perl -version
This is perl, v5.8.8 built for arm-marvell-linux-gnu

Probleme treten jetzt beim kompilieren von einigen Perl-Modulen auf.
Zum Beispiel das Modul: Text-Iconv-1.7 (aktuelle Version von CPAN)

----
perl Makefile.PL

Checking for iconv ... ok (iconv apparently in libc)

NOTE: If you have multiple iconv implementations installed, you might
want to make sure that I've found the one you want to use.
If necessary, you can explicitly specify paths like this:

/opt/bin/perl5.8.8 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

Writing Makefile for Text::Iconv
----
make

arm-marvell-linux-gnu-gcc -c -fexpensive-optimizations -fomit-frame-poi
nter -O2 -DVERSION=\"1.7\" -DXS_VERSION=\"1.7\" -fexpensive-optimizatio
ns -fomit-frame-pointer "-I/opt/lib/perl5/5.8.8/arm-linux/CORE" Iconv.c

Running Mkbootstrap for Text::Iconv ()
chmod 644 Iconv.bs
rm -f blib/arch/auto/Text/Iconv/Iconv.so
arm-marvell-linux-gnu-ld -shared Iconv.o -o blib/arch/auto/Text/Iconv/I
conv.so \
\

make: arm-marvell-linux-gnu-ld: Command not found
make: *** [blib/arch/auto/Text/Iconv/Iconv.so] Error 127
----

Es sieht also danach aus das die Datei arm-marvell-linux-gnu-ld nicht gefunden werden kann. Ein find zeigt das dann auch. Die Frage ist jetzt allerdings wo arm-marvell-linux-gnu-ld zu bekommen ist bzw. in welchem Paket das File enthalten ist.

Eine Suche im Forum und natürlich bei Google hat leider nichts ergeben.

Hat jemand eine Idee was zu tun ist?

Gruss poenni
 

jahlives

Benutzer
Mitglied seit
19. Aug 2008
Beiträge
18.275
Punkte für Reaktionen
4
Punkte
0

poenni

Benutzer
Mitglied seit
09. Mrz 2009
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Der Fehler besagt das ld nicht gefunden werden konnte. Nach der Installation des gcc (via ipkg) war allerdings auch ld unter /opt/bin/ld vorhanden.

Nach einem symbolischen Link klappte es dann auch mit dem kompilieren:

cd /opt/bin
ln -s /opt/bin/ld /opt/bin/arm-marvell-linux-gnu-ld

Gruss Poenni
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat