Problem while installing.

Brecht Vermeulen brecht.vermeulen at rug.ac.be
Wed May 2 03:35:50 EDT 2001


Hi,

did you install a kernel patch (which patches the kernel to make it
compile as c++ code) ?

The patches reside in your click tree, under etc.

Did you follow all steps in the documentation (Install) ?

best regards,
Brecht

Ramandeep Singh Bhinder wrote:
> 
> Hi there,
> I tried installing Click but when i run the command "make install" it
> gives the following errors.
> 
> make[1]: Entering directory `/opt/click-1.1/userlevel'
> ../mkinstalldirs /opt/Click/bin
> /usr/bin/install -c click /opt/Click/bin/click
> ../mkinstalldirs /opt/Click/lib
> /usr/bin/install -c libclick.a /opt/Click/lib/libclick.a
> make[1]: Leaving directory `/opt/click-1.1/userlevel'
> make[1]: Entering directory `/opt/click-1.1/linuxmodule'
> c++ -Wp,-w -W -Wall -w -Wall -DHAVE_CONFIG_H  -I.. -I../include -I. -I..
> -I../include -I/usr/src/linux/include -MD -DCLICK_LINUXMODULE
> -fno-exceptions -fno-rtti -fvtable-thunks  -O2 -c ../lib/string.cc
> In file included from /usr/src/linux/include/linux/sched.h:23,
>                  from /usr/src/linux/include/linux/mm.h:4,
>                  from /usr/src/linux/include/linux/slab.h:14,
>                  from /usr/src/linux/include/linux/malloc.h:4,
>                  from /usr/src/linux/include/linux/skbuff.h:132,
>                  from ../include/click/glue.hh:46,
>                  from ../include/click/straccum.hh:4,
>                  from ../lib/string.cc:24:
> /usr/src/linux/include/linux/signal.h: In function `void
> siginitset(sigset_t *, long unsigned int)':
> /usr/src/linux/include/linux/signal.h:193: parse error before `}'
> /usr/src/linux/include/linux/signal.h: In function `void
> siginitsetinv(sigset_t *, long unsigned int)':
> /usr/src/linux/include/linux/signal.h:205: parse error before `}'
> In file included from ../include/click/glue.hh:46,
>                  from ../include/click/straccum.hh:4,
>                  from ../lib/string.cc:24:
> /usr/src/linux/include/linux/skbuff.h: In function `char *
> __skb_pull(sk_buff *, unsigned int)':
> /usr/src/linux/include/linux/skbuff.h:497: return to `char *' from
> `unsigned
> char *' changes signedness
> /usr/src/linux/include/linux/skbuff.h: In function `unsigned char *
> skb_pull(sk_buff *, unsigned int)':
> /usr/src/linux/include/linux/skbuff.h:504: return to `unsigned char *'
> from `char *' changes signedness
> make[1]: *** [string.o] Error 1
> make[1]: Leaving directory `/opt/click-1.1/linuxmodule'
> make: *** [install] Error 1
> 
> I can't figure out what is wrong. If you could help me in anyway i would
> really appreciate it.
> 
> Thanks in advance
> 
> Raman.
> -------------------------------------------------------------------------------
> -------------------------------------------------------------------------------
> Ramandeep Bhinder
> http://www.ee.umanitoba.ca/~raman
> Graduate Student(MSc)
> Department of Electrical and Computer Engineering.
> University of Manitoba.
> Lab phone number (204)474-6728
> -------------------------------------------------------------------------------
> -------------------------------------------------------------------------------



More information about the click mailing list