Skip to contentSkip to conversation

one more in cyclades

PATCH New Larry McVoy 2 participants 2 messages Dec 7, 2002 – Dec 9, 2002

lore
Share & tools
lore
#0 lore raw

make -f scripts/Makefile.build obj=drivers/char
gcc -Wp,-MD,drivers/char/.consolemap_deftbl.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=consolemap_deftbl -DKBUILD_MODNAME=consolemap_deftbl -c -o drivers/char/consolemap_deftbl.o drivers/char/consolemap_deftbl.c
gcc -Wp,-MD,drivers/char/.defkeymap.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=defkeymap -DKBUILD_MODNAME=defkeymap -c -o drivers/char/defkeymap.o drivers/char/defkeymap.c
gcc -Wp,-MD,drivers/char/.cyclades.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=cyclades -DKBUILD_MODNAME=cyclades -c -o drivers/char/cyclades.o drivers/char/cyclades.c
drivers/char/cyclades.c:887: parse error before `}' make[2]: *** [drivers/char/cyclades.o] Error 1 make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

#1 lore raw

PATCH 1/1 drivers/char/cyclades.c (it was Re: one more in cyclades)

Hi,

This is the patch to fix some compilation problems this driver was having. It is against the kernel 2.5.50 driver. Please apply it for the next release.

thank you
Henrique

--------------------------------------------------------------------------------------

cyclades.c Mon Dec 9 15:49:44 2002 renamed from cyclades.c.old Mon Dec 9 15:48:53 2002 +2 -2
@@ -12,7 +12,7 @@
  *
  * Initially written by Randolph Bentson <[email protected]>.
  * Modified and maintained by Marcio Saito <[email protected]>.
- * Currently maintained by Ivan Passos <[email protected]>.
+ * Currently maintained by Henrique Gobbi <[email protected]>.
  *
  * For Technical support and installation problems, please send e-mail
  * to [email protected].
@@ -884,7 +884,7 @@
 
 
 static int cyz_timeron = 0;
 static struct timer_list cyz_timerlist = TIMER_INITIALIZER(cyz_poll, 0, 0);
-};
+
 #else /* CONFIG_CYZ_INTR */
 static void cyz_rx_restart(unsigned long);

static struct timer_list cyz_rx_full_timer[NR_PORTS];
---------------------------------------------------------------------------------------

Quoted 20 lines · Larry McVoy

make -f scripts/Makefile.build obj=drivers/char
gcc -Wp,-MD,drivers/char/.consolemap_deftbl.o.d -D__KERNEL__ -Iinclude

(quoted diff) +0 -3
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon
-Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix

include -DKBUILD_BASENAME=consolemap_deftbl
-DKBUILD_MODNAME=consolemap_deftbl -c -o drivers/char/consolemap_deftbl.o
drivers/char/consolemap_deftbl.c gcc -Wp,-MD,drivers/char/.defkeymap.o.d

(quoted diff) +0 -5
-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc
-iwithprefix include    -DKBUILD_BASENAME=defkeymap
-DKBUILD_MODNAME=defkeymap   -c -o drivers/char/defkeymap.o

drivers/char/defkeymap.c gcc -Wp,-MD,drivers/char/.cyclades.o.d

(quoted diff) +0 -5
-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc
-iwithprefix include    -DKBUILD_BASENAME=cyclades
-DKBUILD_MODNAME=cyclades   -c -o drivers/char/cyclades.o

drivers/char/cyclades.c drivers/char/cyclades.c:887: parse error before `}'

Quoted 8 lines

make[2]: *** [drivers/char/cyclades.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

cyclades.c renamed from cyclades.c.old +2 -2
@@ -12,7 +12,7 @@
  *
  * Initially written by Randolph Bentson <[email protected]>.
  * Modified and maintained by Marcio Saito <[email protected]>.
- * Currently maintained by Ivan Passos <[email protected]>.
+ * Currently maintained by Henrique Gobbi <[email protected]>.
  *
  * For Technical support and installation problems, please send e-mail
  * to [email protected].
@@ -884,7 +884,7 @@
 
 static int cyz_timeron = 0;
 static struct timer_list cyz_timerlist = TIMER_INITIALIZER(cyz_poll, 0, 0);
-};
+
 #else /* CONFIG_CYZ_INTR */
 static void cyz_rx_restart(unsigned long);
 static struct timer_list cyz_rx_full_timer[NR_PORTS];