[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Build kernel 2.6.13.4



Hi,

I'm trying to build a rpm for kernel 2.6.13.4 with the spec file from the last FC2 kernel on a RHES4 kernel 2.6.9-22.EL.
I commented out all patches in the spec file.
While compiling the kernel, I get an error:

drivers/usb/core/hcd.c:137: error: syntax error before '>>' token
drivers/usb/core/hcd.c:137: error: initializer element is not constant
drivers/usb/core/hcd.c:137: error: (near initialization for `usb2_rh_dev_descriptor[12]')
drivers/usb/core/hcd.c:137: error: syntax error before '>>' token
drivers/usb/core/hcd.c:137: error: initializer element is not constant
drivers/usb/core/hcd.c:137: error: (near initialization for `usb2_rh_dev_descriptor[13]')
drivers/usb/core/hcd.c:160: error: syntax error before '>>' token
drivers/usb/core/hcd.c:160: error: initializer element is not constant
drivers/usb/core/hcd.c:160: error: (near initialization for `usb11_rh_dev_descriptor[12]')
drivers/usb/core/hcd.c:160: error: syntax error before '>>' token
drivers/usb/core/hcd.c:160: error: initializer element is not constant
drivers/usb/core/hcd.c:160: error: (near initialization for `usb11_rh_dev_descriptor[13]')
make[3]: *** [drivers/usb/core/hcd.o] Error 1
make[2]: *** [drivers/usb/core] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
Fehler: Bad exit status from /var/tmp/rpm-tmp.46765 (%build)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.46765 (%build)


How can I fix this?
Does anybody have a spec file for a newer kernel?

Thanks!
Nicole


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]