Re: Linux-2.2.4..

Remco van de Meent (rvdmeent@xs4all.nl)
Wed, 24 Mar 1999 11:15:43 +0100


Hi,

And another compile error in 2.2.4:

cls_fw.c: In function `fw_dump':
cls_fw.c:306: structure has no member named `police'
make[3]: *** [cls_fw.o] Error 1

Let's have a look at it:

struct fw_filter
{
struct fw_filter *next;
u32 id;
struct tcf_result res;
#ifdef CONFIG_NET_CLS_POLICE
struct tcf_police *police;
#endif
};

Right, I didn't enable CONFIG_NET_CLS_POLICE, but the lines around line 306
in that file ain't surrounded by #ifdef CONFIG_NET_CLS_POLICE #endif.

Regards,
-Remco

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/