Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compilation for Asus RT-N16 fails #2

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 15 comments
Open

Cross compilation for Asus RT-N16 fails #2

GoogleCodeExporter opened this issue Mar 14, 2015 · 15 comments

Comments

@GoogleCodeExporter
Copy link

I have Asus RT-N16 (running on Broadcom 47xx, linux). Trying to cross-compile 
that on Ubuntu 10.04 (thru VMWare Player).


What steps will reproduce the problem?
1. Download toochain from 
http://code.google.com/p/wl500g/downloads/list?can=3&q=hndtools-mipsel-uclibc-4.
4.6-K26&colspec=Filename+Summary+Uploaded+Size+DownloadCount
2. Add that to the path:
PATH=$PATH:/home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/
3. Install subversion:
sudo apt-get install subversion
4. Checkout all needed files:
svn checkout http://openzwave-control-panel.googlecode.com/svn/trunk/ 
openzwave-control-panel
svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave
svn checkout https://gnunet.org/svn/libmicrohttpd/ libmicrohttpd
5. Change the Makefile
CC     := mipsel-linux-gcc
CXX    := mipsel-linux-g++
LD     := mipsel-linux-g++
6. Run make:
user@ubuntu1004desktop:~/openzwave-control-panel$ make
linux-mipsel-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I 
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I 
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I 
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I 
../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
make: linux-mipsel-g++: Command not found
make: *** [ozwcp.o] Error 127
user@ubuntu1004desktop:~/openzwave-control-panel$ make
/home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/linux-mipsel-g++ -c -Wall 
-Wno-format -g -DDEBUG -Werror -I ../open-zwave/cpp/src -I 
../open-zwave/cpp/src/command_classes/ -I ../open-zwave/cpp/src/value_classes/ 
-I ../open-zwave/cpp/src/platform/ -I ../open-zwave/cpp/src/platform/unix -I 
../open-zwave/cpp/tinyxml/ -I ../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
make: /home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/linux-mipsel-g++: Command 
not found
make: *** [ozwcp.o] Error 127
user@ubuntu1004desktop:~/openzwave-control-panel$ make
mipsel-linux-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I 
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I 
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I 
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I 
../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
mipsel-linux-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I 
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I 
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I 
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I 
../libmicrohttpd/src/include -o webserver.o webserver.cpp
mipsel-linux-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I 
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I 
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I 
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I 
../libmicrohttpd/src/include -o zwavelib.o zwavelib.cpp
mipsel-linux-g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o   
../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a -pthread -framework IOKit 
-framework CoreFoundation
mipsel-linux-g++: ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a: No such 
file or directory
mipsel-linux-g++: IOKit: No such file or directory
mipsel-linux-g++: CoreFoundation: No such file or directory
make: *** [ozwcp] Error 1

What am I doing wrong?


Original issue reported on code.google.com by [email protected] on 4 Sep 2011 at 8:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant