This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiling THTTPD webserver to run on DM6467

Hi,

I've left a message in the linux board, but haven't found an answer yet:

 

I'm havng trouble compiling and running the thttpd webserver on the DM6467.

ARCH=ARM CC=arm-none-linux-gnueabi-gcc ./configure --target=arm-none-linux-gnueabi --with-build-cc=gc

make ARCH=ARM CC=arm-none-linux-gnueabi-gcc

The system is running  buildroot.

When I try and run it I get the following error:

./thttpd: line 1: sntax error: unexpected word (expecting ")")

 

When I look at file (file) infromation - ./thttpd: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped

During the ./configure the following is printed:

checking host system type... i686-pc-linux-gnu
checking target system type... arm-none-linux-gnueabi
checking build system type... i686-pc-linux-gnu

Seems to suggest it is compiling correctly?

If anyone could shed some light of this I would be very gratefull.

Many Thanks