[Click] Compilation problems redux

Eddie Kohler kohler at CS.UCLA.EDU
Wed Jul 7 18:41:06 EDT 2004


Hi Bob,

> /usr/include/asm/smp.h:73: mach_apicdef.h: No such file or directory
> In file included from ../include/click/straccum.hh:4,
>                  from ../lib/string.cc:21:
> ../include/click/glue.hh:28: linux/malloc.h: No such file or directory
> make[1]: *** [string.o] Error 1
> make[1]: Leaving directory
> `/mnt/filestore/nellydata/home/bobk/click/linuxmodule'
>
>
>
> Hrm, full paths for the include files...so it looks like I have to 
> install
> the patched kernel before compiling click? simply having it compled 
> isn't
> enough? I suppose I can try to set up some sort of chroot...

Have you actually compiled the kernel?  You're right that files under 
/usr/include should not be found here.

Oh wait, I bet I know what it is.  You gave a relative path to 
"--with-linux".  That won't work; provide an absolute path.  I'll 
change configure to warn about relative paths.

Eddie



> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list