[no subject]

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

 



Hi

I am trying to make the latest stable Kernel (2.6.39.2) on my gcc
version 4.4.5 (Debian 4.4.5-8) using

"make-kpkg --initrd kernel_image"

I get the following errors:


drivers/usb/core/hub.c: In function ‘hub_configure’:
drivers/usb/core/hub.c:1244: error: invalid storage class for function
‘hub_release’
drivers/usb/core/hub.c:1243: warning: ISO C90 forbids mixed
declarations and code
drivers/usb/core/hub.c:1254: error: invalid storage class for function
‘hub_disconnect’
drivers/usb/core/hub.c:1286: error: invalid storage class for function
‘hub_probe’
drivers/usb/core/hub.c:1369: error: invalid storage class for function
‘hub_ioctl’
drivers/usb/core/hub.c:1407: error: invalid storage class for function
‘find_port_owner’
drivers/usb/core/hub.c:1476: error: invalid storage class for function
‘recursively_mark_NOTATTACHED’
drivers/usb/core/hub.c:1546: error: non-static declaration of
‘usb_set_device_state’ follows static declaration
drivers/usb/core/hub.c:1509: note: previous definition of
‘usb_set_device_state’ was here
drivers/usb/core/hub.c:1578: error: invalid storage class for function
‘choose_devnum’
drivers/usb/core/hub.c:1603: error: invalid storage class for function
‘release_devnum’
drivers/usb/core/hub.c:1611: error: invalid storage class for function
‘update_devnum’
drivers/usb/core/hub.c:1618: error: invalid storage class for function
‘hub_free_dev’
drivers/usb/core/hub.c:1702: error: invalid storage class for function
‘show_string’
drivers/usb/core/hub.c:1709: error: invalid storage class for function
‘announce_device’
drivers/usb/core/hub.c:1737: error: invalid storage class for function
‘usb_enumerate_device_otg’
drivers/usb/core/hub.c:1819: error: invalid storage class for function
‘usb_enumerate_device’
drivers/usb/core/hub.c:2022: error: invalid storage class for function
‘hub_is_wusb’
drivers/usb/core/hub.c:2044: error: invalid storage class for function
‘hub_port_wait_reset’
drivers/usb/core/hub.c:2098: error: invalid storage class for function
‘hub_port_reset’
drivers/usb/core/hub.c:2177: error: invalid storage class for function
‘check_port_resume_type’
drivers/usb/core/hub.c:2334: error: invalid storage class for function
‘finish_port_resume’
drivers/usb/core/hub.c:2544: error: invalid storage class for function
‘hub_suspend’
drivers/usb/core/hub.c:2570: error: invalid storage class for function
‘hub_resume’
drivers/usb/core/hub.c:2579: error: invalid storage class for function
‘hub_reset_resume’
drivers/usb/core/hub.c:2603: error: non-static declaration of
‘usb_root_hub_lost_power’ follows static declaration
drivers/usb/core/hub.c:2598: note: previous definition of
‘usb_root_hub_lost_power’ was here
drivers/usb/core/hub.c:2629: error: invalid storage class for function
‘hub_port_debounce’
drivers/usb/core/hub.c:2675: error: non-static declaration of
‘usb_ep0_reinit’ follows static declaration
drivers/usb/core/hub.c:2669: note: previous definition of
‘usb_ep0_reinit’ was here
drivers/usb/core/hub.c:2681: error: invalid storage class for function
‘hub_set_address’
drivers/usb/core/hub.c:2722: error: invalid storage class for function
‘hub_port_init’
drivers/usb/core/hub.c:2994: error: invalid storage class for function
‘check_highspeed’
drivers/usb/core/hub.c:3018: error: invalid storage class for function
‘hub_power_remaining’
drivers/usb/core/hub.c:3066: error: invalid storage class for function
‘hub_port_connect_change’
drivers/usb/core/hub.c:3295: error: invalid storage class for function
‘hub_events’
drivers/usb/core/hub.c:3546: error: invalid storage class for function
‘hub_thread’
drivers/usb/core/hub.c:3573: warning: ‘alias’ attribute ignored
drivers/usb/core/hub.c:3577: error: initializer element is not constant
drivers/usb/core/hub.c:3577: error: (near initialization for ‘hub_driver.probe’)
drivers/usb/core/hub.c:3578: error: initializer element is not constant
drivers/usb/core/hub.c:3578: error: (near initialization for
‘hub_driver.disconnect’)
drivers/usb/core/hub.c:3579: error: initializer element is not constant
drivers/usb/core/hub.c:3579: error: (near initialization for
‘hub_driver.suspend’)
drivers/usb/core/hub.c:3580: error: initializer element is not constant
drivers/usb/core/hub.c:3580: error: (near initialization for
‘hub_driver.resume’)
drivers/usb/core/hub.c:3581: error: initializer element is not constant
drivers/usb/core/hub.c:3581: error: (near initialization for
‘hub_driver.reset_resume’)
drivers/usb/core/hub.c:3584: error: initializer element is not constant
drivers/usb/core/hub.c:3584: error: (near initialization for
‘hub_driver.unlocked_ioctl’)
drivers/usb/core/hub.c:3624: error: invalid storage class for function
‘descriptors_changed’
drivers/usb/core/hub.c:3727: error: invalid storage class for function
‘usb_reset_and_verify_device’
drivers/usb/core/hub.c:3921: error: non-static declaration of
‘usb_reset_device’ follows static declaration
drivers/usb/core/hub.c:3862: note: previous definition of
‘usb_reset_device’ was here
drivers/usb/core/hub.c:3964: error: non-static declaration of
‘usb_queue_reset_device’ follows static declaration
drivers/usb/core/hub.c:3960: note: previous definition of
‘usb_queue_reset_device’ was here
drivers/usb/core/hub.c:3964: error: expected declaration or statement
at end of input
make[4]: *** [drivers/usb/core/hub.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 `/root/.local/share/Trash/files/linux-2.6.39.2'
make: *** [debian/stamp/build/kernel] Error 2

I thought the kernel would build out of the box. Please help me out.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux