Closed MVoz closed 5 years ago
sorry for the delay, you are amazing. I'll have to merge this thx for giving me work haha, damn it
I did you steps you showed and this is what happened for me.
# gcc
/opt/lib/gcc/mipsel-openwrt-linux-gnu/6.3.0/crt1.o: In function `__start':
(.text+0xc): undefined reference to `main'
/opt/lib/gcc/mipsel-openwrt-linux-gnu/6.3.0/crt1.o: In function `__start':
(.text+0x10): undefined reference to `main'
collect2: error: ld returned 1 exit status
Did you had the same?
Entware-ng and Entware-3x = Entware https://github.com/Entware/Entware
install
wget -O - http://bin.entware.net/mipselsf-k3.4/installer/generic.sh | /bin/sh
and ... bug fixbusybox --install -s /bin
orhttps://github.com/Entware/Entware/wiki/Using-GCC-for-native-compilation
wget -qO- http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz | tar xvz -C /opt/include
install local http://bin.entware.net/mipselsf-k3.4