Derniers journaux de Beware :

Journal : Problème assez zarbi - File No Found

Posté par Bertrand Jacquin (Jabber id, page perso, ) le 19 avril 2004
0
Voila la copie d'un mail que j'ai transmis au developeur de tomsrtbt la mini distrib de poche:

Hello,

I've try to copy an exectutable (ftp) on the initrd of tomsrtbt.
This file has been compile on a Debian (gcc-3.3), and when I boot, it's ok.
Now I try simple to execute ftp and I have this result :
# cd /bin
/bin# ls -la | grep ftp
-rwxr-xr-x 1 root root 86409 Apr 19 13:03 ftp
/bin# chmod a+xr ftp
/bin# chown root:root ftp
/bin# hash -r
/bin# sync
/bin# echo $PATH
/usr/bin:/bin
/bin# ftp
ftp: not found
/bin# which ftp
/usr/bin/ftp
/bin# `which ftp`
ftp: not found
/bin# sh ftp
ftp: 1: Syntax error: "(" unexpected
/bin# ash ftp
ftp: 1: Syntax error: "(" unexpected
/bin# more ftp
ELF 4h4 (!444àà1é1é ^LàêDùDDEE((( Qatd

I don't understand ! o_O is It specific to tomsrbt

From the compile machine :
$ file ftp
ftp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped

How can I modify it ?
I try with other executable,and it have the same result

Have a good day
Beber

> Lire le journal (1 commentaire, moyenne: 1).  

Cette discussion est archivée, il n'est plus possible de laisser des commentaires.

Note : les commentaires appartiennent à ceux qui les ont postés. Nous n'en sommes pas responsables.

Re: Problème assez zarbi - File No Found

Posté par Bertrand Jacquin (Jabber id, page perso, ) le 19/04/2004 à 15:42. (lien). Évalué à 1.

Il vient de me répondre :

Tomsrtbt uses libc5 not glibc which is libc6.

Note, you can fetch ftp with the included wget program.

You can find libc5 compilation environment packages, or you can link static.

-Tom

cool

Revenir en haut de page