Skip to contentSkip to conversation

2.6.9-ac1 doesn't compile

DISCUSSION Ralf Hildebrandt 1 participant 2 messages Oct 21, 2004 Kbuild

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
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
#1 lore raw

* Ralf Hildebrandt <[email protected]>:

Quoted 2 lines

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

Makefile renamed from Makefile.old +2 -2
@@ -1,7 +1,7 @@                    
 VERSION = 2                 
 PATCHLEVEL = 6                    
-SUBLEVEL = 9-ac1                      
-EXTRAVERSION =                    
+SUBLEVEL = 9                  
+EXTRAVERSION = -ac1                         
 NAME=AC 1               
     

# *DOCUMENTATION*

Signature · 4 lines
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