[Click] --disable-int64 and kernel module compiling problem
Eddie Kohler
kohler at cs.ucla.edu
Sat Sep 16 23:31:54 EDT 2006
Hi Thor,
Thanks for the info. It's pretty easy to fix this: just add int64 to the
ELEMENT_REQUIRES() statements in those three elements. I have done this.
Eddie
Torquato Bertani wrote:
> Hi all,
> I found a little problem.
> If I use the option "--disable-int64" and then I try to compile click
> as kernel module it fails.
>
> I think that some "ifdef HAVE_INT64_TYPES" are missing...
>
> There are some elements that need a uint64_t type and the Makefile try
> to compile:
> -elements/linuxmodule/cyclecountaccum.
> -elements/linuxmodule/rtcycles.
> -elements/linuxmodule/setcyclecount.
>
> Also the function "read_cycles" in linuxmodule/module.cc
>
> I resolved the problem deleting elements and function but it isn't
> very nice as solution...A nicer solution than mine will be
> appreciated.
>
> Bye
> Thor
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list