Talk:Openmoko on HTC-Dream

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
 
   arch/arm/mach-msm/htc_battery.c:793: error: implicit declaration of function ‘usb_register_notifier’
 
   arch/arm/mach-msm/htc_battery.c:793: error: implicit declaration of function ‘usb_register_notifier’
 
--[[User:Arteqw|Arteqw]] 13:46, 22 July 2009 (UTC)
 
--[[User:Arteqw|Arteqw]] 13:46, 22 July 2009 (UTC)
 +
 +
fixed - use 2.6.29 instead 2.6.27

Revision as of 20:51, 23 July 2009

Error while kernel compile


  CC      arch/arm/mach-msm/htc_battery.o
  arch/arm/mach-msm/htc_battery.c:187: error: variable ‘usb_status_notifier’ has initializer but incomplete type
  arch/arm/mach-msm/htc_battery.c:188: error: unknown field ‘name’ specified in initializer
  arch/arm/mach-msm/htc_battery.c:188: warning: excess elements in struct initializer
  arch/arm/mach-msm/htc_battery.c:188: warning: (near initialization for ‘usb_status_notifier’)
  arch/arm/mach-msm/htc_battery.c:189: error: unknown field ‘func’ specified in initializer
  arch/arm/mach-msm/htc_battery.c:189: warning: excess elements in struct initializer
  arch/arm/mach-msm/htc_battery.c:189: warning: (near initialization for ‘usb_status_notifier’)
  arch/arm/mach-msm/htc_battery.c: In function ‘htc_battery_init’:
  arch/arm/mach-msm/htc_battery.c:793: error: implicit declaration of function ‘usb_register_notifier’

--Arteqw 13:46, 22 July 2009 (UTC)

fixed - use 2.6.29 instead 2.6.27

Personal tools

Error while kernel compile


  CC      arch/arm/mach-msm/htc_battery.o
  arch/arm/mach-msm/htc_battery.c:187: error: variable ‘usb_status_notifier’ has initializer but incomplete type
  arch/arm/mach-msm/htc_battery.c:188: error: unknown field ‘name’ specified in initializer
  arch/arm/mach-msm/htc_battery.c:188: warning: excess elements in struct initializer
  arch/arm/mach-msm/htc_battery.c:188: warning: (near initialization for ‘usb_status_notifier’)
  arch/arm/mach-msm/htc_battery.c:189: error: unknown field ‘func’ specified in initializer
  arch/arm/mach-msm/htc_battery.c:189: warning: excess elements in struct initializer
  arch/arm/mach-msm/htc_battery.c:189: warning: (near initialization for ‘usb_status_notifier’)
  arch/arm/mach-msm/htc_battery.c: In function ‘htc_battery_init’:
  arch/arm/mach-msm/htc_battery.c:793: error: implicit declaration of function ‘usb_register_notifier’

--Arteqw 13:46, 22 July 2009 (UTC)

fixed - use 2.6.29 instead 2.6.27