[Click] Cross-compile click in mips archivecture machine。
kele kele
jinkelei87 at gmail.com
Sun Feb 5 02:12:53 EST 2012
Hi,
I want to cross compile click to my machine.
This machine is FlexPacket ATCA-PP50, which can only run
mipslinux 2.6.21.7. So There are two problem.
1. How can I make a linux patch for linux 2.6.21.7 to fit
click, which should run in kernel mode.
2. How can I config and compile click for this mips linux.
My toolchain is mipsisa32-xlr-linux-gcc mipsisa32-xlr-linux-g++ ......
I have tried to solve these problems. I use the
linux-2.6.19.2-patch which click provide to patch linux 2.6.21.7. It
will be some errors while patching, and I correct these errors. Last,
I compile the linux image and system.map successfully. Then, I compile
my click-2.0.1 like this:
CC=mipsisa32-xlr-linux-gcc
CPP=mipsisa32-xlr-linux-cpp
CXX=mipsisa32-xlr-linux-g++
./configure \
--prefix=/opt/click \
--host=mipsisa32-xlr-linux \
--target=mipsisa32-xlr-linux \
--build=i386-linux-gnu \
--with-linux=/home/rmios/pp50_linux_19_2_patch \
--with-linux-map=/home/rmios/pp50_linux_19_2_patch/System.map \
--disable-fixincludes \
--enable-multithread=32
and the configure result configlog is in attachment.
Now I can not compile the click. Could you help me to verify
this, please? Thank you.
Best,
Kelei Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configlog
Type: application/octet-stream
Size: 13337 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20120205/f456eb11/attachment-0001.obj
More information about the click
mailing list