OpenWrt Forum Archive

Topic: whiterussian mips arch broken ?

The content of this topic has been archived on 2 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I was trying the whiterussian's buildroot for mips architecture (big endian mips).
Here is how I downloaded the buildroot using SVN :

# svn co https://svn.openwrt.org/openwrt/branches/whiterussian/

After reading the buildroot documentation, I couldn't find any info regarding changing the little-endian-mips toolchain into big-endian-mips. So, I read the top dir Makefile, and configured the openwrt with this :

# make DEVELOPER=1 menuconfig

It helped me to choose the right toolchain (mips), as well as the uClibc configuration.

The next step was to build it

# make world

The toolchain compilation was successful, but the package compilation was not.

make[3]: Entering directory '/home/bali/whiterussian/openwrt/build_mips/nvram'
/home/bali/whiterussian/openwrt/staging_dir_mips/bin/mips-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time  -I /home/bali/whiterussian/openwrt/staging_dir_mips/usr/include -c -I. -I../include -o shutils.o shutils.c
shutils.c:33:21: shutils.h: No such file or directory
make[3]: *** [shutils.o] Error 1
make[3]: Leaving directory `/home/bali/whiterussian/openwrt/build_mips/nvram'
make[2]: *** [/home/bali/whiterussian/openwrt/build_mips/nvram/.built] Error 2
make[2]: Leaving directory `/home/bali/whiterussian/openwrt/package/nvram'
make[1]: *** [nvram-compile] Error 2
make[1]: Leaving directory `/home/bali/whiterussian/openwrt/package'
make: *** [package/compile] Error 2

So, I googled around, and found out this one : http://forum.openwrt.org/viewtopic.php?pid=13044

Twanfox had the same problem as I did, and his solution was replace the GNU make. So, I replaced my GNU make 3.81, with GNU make 3.80 (which was patched using debian patch in http://ftp.debian.org/debian/pool/main/ … 9.diff.gz).

Then I ran the GNU make 3.80 using :

# /usr/local/bin/make world

The GNU make 3.80 was installed in /usr/local/bin, while GNU make 3.81 was installed in /usr/bin. By this way, I can use both of them in my system.

However, I still got the same problem.

Any ideas how to fix this one ?

White Russian only works for Broadcom 47xx based MIPSel routers and is no longer developed.  Use Kamikaze (trunk)

Thank you Bartman007. I will give Kamikaze a try.

The discussion might have continued from here.