<div dir="ltr"><div><div><div><div><div><div>I'm seeing a problem building payloads. The problem is actually occuring when libpayload gets built prior<br>to being copied down to the payload. I'm building a different payload, but the problem can be seen<br>
when building coreinfo. Here's the sequence I used<br><br></div>cd payloads/coreinfo<br></div>make distclean<br></div>rm -rf libpayloadbin<br></div>make<br><br></div><div>These are the errors I see...<br><br>drivers/usb/xhci.c:146:1: error: conflicting types for ‘xhci_init’<br>
In file included from drivers/usb/xhci.c:36:0:<br>drivers/usb/xhci.h:37:8: note: previous declaration of ‘xhci_init’ was here<br>drivers/usb/xhci.c: In function ‘xhci_pci_init’:<br>drivers/usb/xhci.c:314:13: error: incompatible types when assigning to type ‘hci_t’ from type ‘struct hci_t *’<br>
drivers/usb/xhci.c:315:12: error: invalid type argument of ‘->’ (have ‘hci_t’)<br>drivers/usb/xhci.c:319:2: error: incompatible types when returning type ‘hci_t’ but ‘struct hci_t *’ was expected<br>drivers/usb/xhci.c: In function ‘xhci_shutdown’:<br>
drivers/usb/xhci.c:417:38: error: ‘hci_t’ has no member named ‘bus_address’<br>drivers/usb/xhci.c: In function ‘xhci_pci_init’:<br>drivers/usb/xhci.c:320:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
<br></div>I bisected the problem down to this commit<br><br>commit 8992e53c23cb088efbdafbf3e2ba77e7d8778d71<br>Author: Stefan Reinauer <<a href="mailto:reinauer@chromium.org">reinauer@chromium.org</a>><br>Date:   Thu May 2 16:16:41 2013 -0700<br>
<br>    libpayload: Add USB support for non-PCI controllers<br>    <br></div>Thanks,<br>Dave<br></div>