[Click] Compilation problems redux

Bob Keyes bob at xa.net
Wed Jul 7 18:11:43 EDT 2004



On Wed, 7 Jul 2004, Eddie Kohler wrote:

> Harvey,
>
> > I get the latter error as well, with both cvs and 1.4. Removing the
> > second typedef lets the compile complete, although I'm not sure it's
> > correct.
>
> It is correct, thanks!
>

OK, that did get me through that hoop...now onto another:

g++ -w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -DHAVE_CONFIG_H
-I../include -I../include -I. -I.. -I../linux-2.4.20/include
-I../madwifi.stripped//click_wifi -DCLICK_LINUXMODULE -O2 -MD -c
../lib/string.cc
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from /usr/include/linux/mm.h:4,
                 from /usr/include/linux/skbuff.h:26,
                 from ../include/click/glue.hh:27,
                 from ../include/click/straccum.hh:4,
                 from ../lib/string.cc:21:
/usr/include/asm/mpspec.h:6: mach_mpspec.h: No such file or directory
In file included from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from /usr/include/linux/mm.h:4,
                 from /usr/include/linux/skbuff.h:26,
                 from ../include/click/glue.hh:27,
                 from ../include/click/straccum.hh:4,
                 from ../lib/string.cc:21:
/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...


More information about the click mailing list