[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Downloading the executable into ETRAX-100
> From: "Vilas Uchil" <email@example.com>
> 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'$$' \