[Click] proclikefs compile...hack fix
Jeff Fifield
fifield at colorado.edu
Wed Oct 12 13:01:31 EDT 2005
Bob-
I'm seeing the same problem here. I don't think your fix is a hack, I
think it is the correct fix. <linux/version.h> must be included so that
the macros LINUX_VERSION_CODE and KERNEL_VERSION are defined. The error
you reported occurred because the macros were not defined. The real
question is: how were others able to get this to build without the
proper includes! Note that the previous revision of proclikefs.c did
not make use of these macros.
-jf
Bob Keyes wrote:
> I have done an ugly hack to make this compile, and modified
> linuxmodule/proclikefs.c to include <linux/version.h> in the very start.
> This may push the problem to the background, but doesn't kill it. I'll try
> to find out what is really going on.
>
> This is the contents of linux/version.h:
>
> #define UTS_RELEASE "2.6.13.2"
> #define LINUX_VERSION_CODE 132621
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>
>
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list