THTTPD

Pramod
Dear sir
 I compile the thttpd with arm-linux-gcc
 it create binary
I copy this binary in usr/sbin/     directory of mini2440 board
when I run ./thttpd  it gives following error




[root@FriendlyARM sbin]# ./thttpd
./thttpd: line 1: syntax error: word unexpected (expecting ")")
[root@FriendlyARM sbin]# 

please provides proper steps for thttpd installing on friendly arm board
mini2440

Dave Festing
Shows us your EXPORT path

Dave Festing
Also, do a readelf -a on the cross-compiled binary on your Linux host.

Juergen Beisert
Is your "thttpd" a shell script or a elf binary?

Pramod
# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
  . /etc/bashrc
fi

export PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin/

davef
>> Also, do a readelf -a on the cross-compiled binary on your Linux host.

What does say at the bottom?