[ENBD] Beginner's cry
Peter T. Breuer
enbd@lists.community.tummy.com
Thu, 5 Jun 2003 20:08:28 +0200 (MET DST)
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> 2003-06-05 ragyog_ napj_n Peter T. Breuer ezt _zente:
>
> > Look for something else to compile in. Look for where the symbol is
> > defined in the source, and what #ifdef compile option it needs.
>
> Uhhh. Maybe. I am not a kernel-hacker.
Then the solution is to do as I suggested - use your distro's config.
> > (or compile out the routing netlink stuff). I'd look, but you'd make a
> > better job of looking, being more motivated. I can send you my kernel
> > config, but why don't you start with your distros config?
>
> Yes, this must be the next step. But this is a long way. In my dream i
> wait for a nice, simple solution... :)
>
It's the one above. Click on the option that causes that symbol to be
compiled in! As far as I can see, it is defined in rtnetlink.c, and
that is compiled in if you have CONFIG_NET=y.
obj-$(CONFIG_NET) += dev.o dev_mcast.o dst.o neighbour.o rtnetlink.o utils.o
o
/*
* Process one packet of messages.
* Malformed skbs with wrong lengths of messages are discarded
* silently.
*/
extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
{
...
I don't know what extern __inline__ does for gcc. An exported macro?
Must be exported since it's not static, but it's weird!
Peter