[Click] Compiling userlevel click with kernel 2.6 and running with kernel 2.4 - little help...

Torquato Bertani torquato at gmail.com
Mon Mar 27 10:53:46 EST 2006


Hi Karol,

I always use gcc32 under FC4 but I use the following sintax:

./configure CC=gcc32 CXX=g++32

I should obtain the same result described by you...but it still doesn't work.

I'll try your method.
Thanks

Torquato


On 3/27/06, karol kowalik <karol.kowalik at cnri.dit.ie> wrote:
> Hi Torquato,
>
> In order to do this you need to use gcc32 complier, which is included in
> the compat-gcc (under fedora: yum install compat-gcc ). Then you need to
> edit the file "configure.in" and set:
>
> AC_CHECK_TOOL(CC, gcc32)
> AC_CHECK_TOOL(CXX, g++32)
>
> After that you can ./configure
>
> If you still have the same problems, please search for gcc and g++ in
> the Click makefiles, and replace them by gcc32 and g++32. For example:
>
> CLICKCC = gcc -w -W -Wall
> CLICKCXX = g++ -w -W -Wall -fno-exceptions -fno-rtti  -D__SMP__
>
> replace by:
>
> CLICKCC = gcc32 -w -W -Wall
> CLICKCXX = g++32 -w -W -Wall -fno-exceptions -fno-rtti  -D__SMP__
>
>
>
> Karol
>
>
>
>
> Eddie Kohler wrote:
> > I'm afraid the answer is probably "you can't do that".  The C library, or
> > possibly another library, with which Click is linked won't work on a 2.4
> > machine.  Compile for 2.4 on a 2.4 machine.
> >
> > Eddie
> >
> >
> > Torquato Bertani wrote:
> >
> >>Hi all,
> >>I always used click as kernel module and never had a problem compiling
> >>it on my desktop (FC4 and kernel 2.6) and running it under a kernel
> >>2.4.28 on a different machine.
> >>
> >>If I compile userlevel click and try to execute it on the machine with
> >>kernel 2.4.28, I get:
> >>FATAL: kernel too old
> >>
> >>Can't understand why...I'm a bit confused...maybe because is 19:10 of
> >>friday... :)
> >>
> >>Thanks
> >>Torquato
> >>
> >>_______________________________________________
> >>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