Hi,

worked really hard, got help from many people and still see no chance to compile basic Linux application for a router, called Linux Dialog.

Could you kindly write HowTo native compilation ?


Please read the following thread
http://wl500g.info/showthread.php?t=17717

Linux dialog sources
http://ftp.de.debian.org/debian/pool...21.orig.tar.gz

============================================

created a toolchain for native compilation use:
ipkg install optware-devel

as advised by al37919

running
/opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc

i get the follwing errors

======================
[admin@oo /opt]$ mipsel-uclibc-gcc -o helloworld
-sh: mipsel-uclibc-gcc: not found
[admin@oo /opt]$ /opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc
/opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc: /opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc: 1: Syntax error: "(" unexpected
[admin@oo /opt]$ /opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc --help
/opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc: /opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc: 1: Syntax error: "(" unexpected
[admin@oo /opt]$


Any sollution for syntax error "(" ?

And what directory is/was correct to save optware-devel
and how to make

/opt/broadcom/opt/brcm/hndtools-mipsel-uclibc-0.9.19/bin/mipsel-uclibc-gcc

running as
mipsel-uclibc-gcc
only ?

What is your solution ?

Tried to install
mkdir /opt
cd /opt < enter >
wget http://www.asuscom.de/pub/ASUS/wirel...3/GPL_1927.zip < enter >
tar zxf ./GPL_1927.zip < enter >
cp -R /opt/broadcom/opt/brcm /opt < enter >

==========
cd /var/tmp
wget http://oleg.wl500g.info/1.9.2.7-6b/w...2.7-6b.tar.bz2
tar xjf wl500g-1.9.2.7-6b.tar.bz2
cd wl500g-1.9.2.7-6b
make uClibc

but was low on memory (2GB pendrive)
and -j option didn't work.

Today
mipsel-uclibc-gcc

generates syntax error.

I need Linux dialog to test some shell scripts.


Darius