[Click] Hello~

Eddie Kohler kohler at cs.ucla.edu
Wed Mar 1 14:45:01 EST 2006


"How to cross-compile Click" would be a great Wiki entry.... hint  
hint :)

Here's a message that may be of interest.
http://pdos.csail.mit.edu/click/ml/click/msg01614.html

E


On Mar 1, 2006, at 11:34 AM, Torquato Bertani wrote:

> You can compile click on another machine compatible (or do
> crosscompiling but I never succeded in that...and still don't know how
> to do) and copy manually click files into minipc but it isn't very
> easy.
>
> I compile click on my P4 with fedora core 4 and kernel 2.6 and then
> use it on my 386 "mini" pc with kernel 2.4 that doesn't have a
> compiler due to it's small amount hw resources. It works but:
>
> - you need the 2.4 kernel source you use in minipc in your pc
> - also lib of minipc (not sure)
>
> Then use the ./configure script in click/ directory with these options
> (this is for kernel module!):
>
> ./configure --disable-userlevel --enable-linuxmodule
> --with-linux=/usr/src/linux-2.4.x
> (read documentation because I don't know very well all parameters...)
>
> Pay attention to the compiler version because in Fedora 4 (for
> example) there is gcc 4.0 and I can't compile click and kernel 2.4
> with gcc 4.0 but you need to add CC=gcc32 and CPP=g++32 to ./configure
> (You obviously need gcc32 and g++32)
>
> At the end of compiling you copy click.o modules (and proclikefs.o if
> I remember correctly) to your minipc. Then you need to create a
> startup script and click config file.
>
> This is my experience, I spent some weeks to make it working correctly
> and I don't think everything is correct...
>
> Torquato
>
> On 3/1/06, Eddie Kohler <kohler at cs.ucla.edu> wrote:
>> Shockingly, you won't be able to compile Click without a compiler. :)
>>
>> 김영환 wrote:
>>>
>>>
>>> Hello!
>>>
>>> I'd subscribed, today. Lately, I tried to install click-router to  
>>> my mini
>>> linux system. By the way, there're somedifficulties.
>>>
>>> So, I want to know the packages for installing Click-router.
>>>
>>>
>>>
>>> And, when I execute make - because there's no gmake command in my  
>>> mini
>>> system-, click-install and click-uninstall and *.ko in /usr/local/ 
>>> lib was
>>> not created.
>>>
>>> Of course, operation failed.
>>>
>>>
>>>
>>> What can I do to solve this problem?
>>>
>>>
>>>
>>> Thank you.
>>>
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>




More information about the click mailing list