Cross-compile click in mips archi vecture machine。

kele kele <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAOS0nbdtYe67tPHVTb88z9r4BZZ-9uVcGVrcTT74juOw+aK7ag@mail.gmail.com>
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

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
configlog (application/octet-stream, 13 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.