lkml.org 
[lkml]   [1999]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Parse error on capi.c(ISDN), gcc 2.95.1
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.029 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site