2004-10-21 12:56:08

by Ralf Hildebrandt

[permalink] [raw]
Subject: 2.6.9-ac1 doesn't compile

Using gcc version 3.4.2 (Debian 3.4.2-3)

...

CC [M] drivers/usb/core/usb.o
CC [M] drivers/usb/core/hub.o
CC [M] drivers/usb/core/hcd.o
drivers/usb/core/hcd.c:132: error: parse error before '>>' token
drivers/usb/core/hcd.c:132: error: initializer element is not constant
drivers/usb/core/hcd.c:132: error: (near initialization for usb2_rh_dev_descriptor[12]')
drivers/usb/core/hcd.c:132: error: parse error before '>>' token
drivers/usb/core/hcd.c:132: error: initializer element is not constant
drivers/usb/core/hcd.c:132: error: (near initialization for usb2_rh_dev_descriptor[13]')
drivers/usb/core/hcd.c:155: error: parse error before '>>' token
drivers/usb/core/hcd.c:155: error: initializer element is not constant
drivers/usb/core/hcd.c:155: error: (near initialization for usb11_rh_dev_descriptor[12]')
drivers/usb/core/hcd.c:155: error: parse error before '>>' token
drivers/usb/core/hcd.c:155: error: initializer element is not constant
drivers/usb/core/hcd.c:155: error: (near initialization for usb11_rh_dev_descriptor[13]')
make[4]: *** [drivers/usb/core/hcd.o] Error 1
make[3]: *** [drivers/usb/core] Error 2
make[2]: *** [drivers/usb] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.9-ac1'
make: *** [stamp-build] Error 2

--
Ralf Hildebrandt (i.A. des IT-Zentrum) [email protected]
Charite - Universit?tsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF AIM. ralfpostfix


2004-10-21 13:16:00

by Ralf Hildebrandt

[permalink] [raw]
Subject: Re: 2.6.9-ac1 doesn't compile

* Ralf Hildebrandt <[email protected]>:

> drivers/usb/core/hcd.c:132: error: parse error before '>>' token
> drivers/usb/core/hcd.c:132: error: initializer element is not constant

Adrian's patch fixes this

--- linux-2.6.9-ac1-full/Makefile.old
+++ linux-2.6.9-ac1-full/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
-SUBLEVEL = 9-ac1
-EXTRAVERSION =
+SUBLEVEL = 9
+EXTRAVERSION = -ac1
NAME=AC 1

# *DOCUMENTATION*

--
Ralf Hildebrandt (i.A. des IT-Zentrum) [email protected]
Charite - Universit?tsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF AIM. ralfpostfix