Re: Parse error on capi.c(ISDN), gcc 2.95.1

Arjan van de Ven (arjan@fenrus.demon.nl)
Sun, 24 Oct 1999 20:12:43 +0200 (CEST)


On 24 Oct 1999, Ville [iso-8859-1] Pätsi wrote:

> I am getting this error when trying to compile 2.2.13 with ISDN support:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.2/include -Wall -Wstrict-prototypes
> -O4 -mpentiumpro -fomit-frame-pointer -fno-strict-aliasing -pipe
> -fno-strength-reduce -mpentiumpro -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=686 -c -o capi.o capi.c
> capi.c:526: parse error
> capi.c: In function `capi_poll':

Could you try this:

diff -r -u linux2213/drivers/isdn/avmb1/capi.c linux/drivers/isdn/avmb1/capi.c
--- linux2213/drivers/isdn/avmb1/capi.c Wed Oct 20 02:14:00 1999
+++ linux/drivers/isdn/avmb1/capi.c Thu Oct 21 20:43:25 1999
@@ -109,6 +109,7 @@
*/

#include <linux/module.h>
+#include <linux/version.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/major.h>

Greetings,
Arjan van de Ven

-
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/