Problem while installing.

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


Hi,

If you only want the userlevel version, the kernel patch may not be
needed of course, I wonder why it tries to compile the linux kernel
module then, the people of the Click project will correct me :-).

Out of the install file :

The user-level version of Click should compile and run on any Intel x86
Unix system that has the pcap library. (The pcap library is necessary to
communicate with the network. See the end of this document for
portability
notes for other architectures.) The Linux kernel module requires a
patched
Linux 2.2 system; we've tested on the recent 2.2.16, 2.2.17, and 2.2.18
Linux kernels.


best regards,
Brecht

Ramandeep Singh Bhinder wrote:
> 
> Hi,
> I followed the instructions from the documentation (install) . It says to
> first run ./configure
> and then to run the "make install" command.
> I am getting errors while running the "make install" command.
> Till now it did not say anything about patches.
> 
> Thanks.
> Raman.
> 
> On Wed, 2 May 2001, Brecht Vermeulen wrote:
> 
> >
> > 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
> > > -------------------------------------------------------------------------------
> > > -------------------------------------------------------------------------------
> >
> 
> -------------------------------------------------------------------------------
> -------------------------------------------------------------------------------
> 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