Journal Problème assez zarbi - File No Found

Posté par  .
Étiquettes :
0
19
avr.
2004
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

Suivre le flux des commentaires

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