FreeBSD module compilation error

Kunal Trivedi ktrivedi at andrew.cmu.edu
Wed Apr 24 05:04:09 EDT 2002


Thanks a lot. It works. But, it gives error in polldevice.cc (@227
no matching function for call to 'ifnet::if_poll_recv(ifnet *&, int *)'

net/if_var.h has
	if_poll_recv(ifnet *, int *) defined and in code _dev is also type
struct ifnet.

Could you please tell me what i am doing wrong here ?

Thanks
-Kunal

----------------------------
Kunal Trivedi (412-268-1255)
Network Development
Carnegie Mellon University

On Wed, 24 Apr 2002, Brecht Vermeulen wrote:

>
> I think you need to specify --enable-bsdmodule during the configure step
> (it isn't an option to the C++ compiler). Check out configure --help.
>
> regards,
> Brecht
>
> Kunal Trivedi wrote:
> >
> > Hi,
> > > Did you compile with --enable-bsdmodule?
> > Yes, I have that flag in CLICKDIR/bsdmodule/Makefile under CXX
> >
> > CXX= g++ -w -Wall -fno-exceptions -fno-rtti -fvtable-thunks
> > -enable-bsdmodule
> >
> > But, its giving errors.
> >
> > Thanks
> > -Kunal
> >
> > On Tue, 23 Apr 2002, Eddie Kohler wrote:
> >
> > >
> > > Realize, also, that the BSD module is not as stable as the Linux module at
> > > present.
> > >
> > > Eddie
> > >
>




More information about the click mailing list