[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Downloading the executable into ETRAX-100
It looks like I didn't put in my question properly
I ftp'd my executeable into the board. The 'ls' command shows the following
-rwxr-xr-x 1 root root 2412 Jan 01 00:09 hello
"hello" is the executeable. So when I try to run the executeable it gives me
an error as
hello: no such file or directory
./hello: no such file or directory
/mnt/flash/hello: no such file or directory
I have followed all the steps mentioned in the website
All the steps worked fine without any errors.
Can anyone help me figure out what is going wrong ???
Behalf Of Hans-Peter Nilsson
Sent: Tuesday, September 25, 2001 1:46 AM
Subject: Re: Downloading the executable into ETRAX-100
> From: "Vilas Uchil" <firstname.lastname@example.org>
> Date: Tue, 25 Sep 2001 00:31:29 -0500
> I compiled the executeable as mentioned in the web page and did an FTP
> into the board.
> When I run the executeable on the board...it does not work
> It gives File not found error.
> Can anyone give me some help as to where I am going wrong...
Did you "chmod +x the_program" after downloading it?
Is the location of the program in PATH?
Do you use DNS calls from your program (gethostbyname etc.)?
If so, apply the following patch in the "devboard_lx" directory:
--- Makefile 2001/07/02 10:28:02 1.51
+++ Makefile 2001/08/24 15:11:00 1.52
@xxxxxxx.img: $(shell find $(prefix) -type
"files #####" ; \
DSOs=`find-needed-shlibs.pl $(prefix)`; \
test -z "$$DSOs" \
- || DSOs="$$DSOs libnss_dns.so.2 libnss_files.so.2"; \
+ || DSOs="$$DSOs libnss_dns.so.2 libnss_files.so.2 libresolv.so.2"; \
for DSO in $$DSOs; do \
strip-cris $(prefix)/lib/$$DSO || exit 1; \
grep '^Include: '$$DSO'$$' \