Re: Unsupported kernel version error|
Karl Kleinpaste <karl,AT,charcoal,DOT,com>|
Sun, 27 May 2001 15:22:06 +0200|
"Trever L. Adams" <vichu,AT,digitalme,DOT,com> writes:
> ../cipe.h:371:8: warning: extra tokens at end of #endif directive
It's a nit, but...
--- cipe/cipe.h.~1~ Thu Dec 21 05:23:34 2000
+++ cipe/cipe.h Sun May 27 09:07:18 2001
@@ -408,4 +408,4 @@
#define DEVNAME "cip" VERNAME CRNAME
+#endif /* _CIPE_H_ */
> .././output.c: In function `cipe_xmit':
> .././output.c:280: too few arguments to function `ip_select_ident'
Add ",NULL" to the macro defined on line 51. I thought the variation
in this macro was supposed to be appropriate for recent 2.4 based on
the #if LINUX_VERSION_CODE, but I'm using RH7.1's original 2.4.2 and
still needed the ",NULL" component. I was intending to go back to
find out what was really happening here on a per-version basis, but
haven't gotten to it yet, and I basically just needed RH7.1 up-&-
running ASAP so I've just hacked enough to make it fly.
Hm, on the other hand, you say you've got 2.4.5, in which case the #if
should DTRT for you. Are you sure that your kernel source tree is
aimed at the right version?