http://bugs.openembedded.org/show_bug.cgi?id=815





------- Comment #5 from [EMAIL PROTECTED]  2006-04-28 17:31 -------
Created an attachment (id=684)
 --> (http://bugs.openembedded.org/attachment.cgi?id=684&action=view)
(partial) Fix

Fixing the e750_lcd.c stuff results in some more similar errors.
After fixing them with the attached patch, the kernel compile succeeds, but
linking fails:

| make[1]: Leaving directory
`/home/oe2/tmp/work/h3900-linux-gnueabi/handhelds-pxa-2.6-2.6.16-hh0+cvs20060425-r1/kernel26'
|   LD      .tmp_vmlinux1
| arch/arm/mach-pxa/built-in.o: In function
`h4000_set_led':dma_needs_bounce.c:(.text+0x1cb0): undefined reference to
`ipaq_asic3_set_led'
| :dma_needs_bounce.c:(.text+0x1ce0): undefined reference to
`ipaq_asic3_set_led'
| :dma_needs_bounce.c:(.text+0x1cf4): undefined reference to
`ipaq_asic3_set_led'
| :dma_needs_bounce.c:(.text+0x1d14): undefined reference to
`ipaq_asic3_set_led'
| :dma_needs_bounce.c:(.text+0x1d28): undefined reference to
`ipaq_asic3_set_led'


This is because h4000.c (and probably some others) use ipaq_asic3_set_led,
which needs CONFIG_HTC_ASIC3, which isn't set anywhere. This, too, is fixed in
the patch by selecting HTC_ASIC3 if H4000 is selected.


The defconfig (and the various machine configs) need to be adjusted now,
because enabling HTC_ASIC3 allows compiling in some more stuff:

CONFIG_IPAQ_H3900_BATTERY
CONFIG_IPAQ_H4000_SERIAL
CONFIG_IPAQ_H4000_UDC
CONFIG_IPAQ_H4000_TS
CONFIG_IPAQ_H4000_BUTTONS
CONFIG_MACH_X30
CONFIG_X30_CORE
CONFIG_USB_OHCI_HCD
CONFIG_TMIO_OHCI
CONFIG_IPAQ_H5400_WIFI

This isn't done by the patch I'm attaching (because the patch is meant to be
applied to the hh kernel, while the configs that need fixing are in the oe tree
-- let's keep the fixes separate).


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to