Ticket #592 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

qemu-neo1973 not building with support for gadgetfs, missing linux/usb_ch9.h

Reported by: stephan@… Owned by: balrogg@…
Priority: high Milestone:
Component: qemu-neo1973 Version: current svn head
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

configure checks for <linux/usb_ch9.h> which is absent on my system and will
thus not built with support for gadgetfs, leaving the user with disabled USB
functionality.

To fix remove references to usb_ch9.h from the following files:

  • openmoko/trunk/src/host/qemu-neo1973/configure
  • openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c

Environment: Gentoo Linux, gentoo-sources-2.6.21, linux-headers-2.6.21

Change History

comment:1 Changed 6 years ago by balrogg@…

  • Owner changed from dodji@… to balrogg@…

comment:2 Changed 6 years ago by balrogg@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r2200 by checking LINUX_VERSION_CODE and choosing appropriate headers
based on this.

Note: See TracTickets for help on using tickets.