Errors due to USB_HAVE_UGEN option
Deval Shah
deval.maker at gmail.com
Mon Jul 25 09:06:39 UTC 2016
Hello everyone,
I am trying to add USB mouse to Raspberry Pi, therefore adding related files.
There are some functions which are used by “/dev/usb/input/ums.c” but are not
being compiled due to the switch/macro USB_HAVE_UGEN in the file
rtems-libbsd/rtemsbsd/include/rtems/bsd/local/opt_usb.h.
Error log:
----------------------------------------------------------------------------------------------------------------------------
./libbsd.a(ums.c.16.o): In function `ums_detach':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:683:
undefined reference to `usb_fifo_detach' ./libbsd.a(ums.c.16.o): In function `ums_stop_read':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:722:
undefined reference to `usb_fifo_softc' ./libbsd.a(ums.c.16.o): In function `ums_start_read':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:697:
undefined reference to `usb_fifo_softc' ./libbsd.a(ums.c.16.o): In function `ums_ioctl':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:860:
undefined reference to `usb_fifo_softc' ./libbsd.a(ums.c.16.o): In function `ums_reset_buf':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:783:
undefined reference to `usb_fifo_reset' ./libbsd.a(ums.c.16.o): In function `ums_close':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:847:
undefined reference to `usb_fifo_softc'
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:852:
undefined reference to `usb_fifo_free_buffer' ./libbsd.a(ums.c.16.o): In function `ums_open':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:789:
undefined reference to `usb_fifo_softc'
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:834:
undefined reference to `usb_fifo_alloc_buffer' ./libbsd.a(ums.c.16.o): In function `ums_attach':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:653:
undefined reference to `usb_fifo_attach' ./libbsd.a(ums.c.16.o): In function `ums_put_queue':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:771:
undefined reference to `usb_fifo_put_data_linear' ./libbsd.a(ums.c.16.o): In function `ums_intr_callback':
/home/gadgetman/development/rtems/rtems-libbsd/build/arm-rtems4.12-raspberrypi/../../freebsd/sys/dev/usb/input/ums.c:332:
undefined reference to `usb_fifo_put_bytes_max' collect2: error: ld returned 1 exit status
---------------------------------------------------------------------------------------------------------------------------- So, what would be the way out here ? Is there any particular reason why “UGEN”
option is not used in our system ?
Thank you in advance.
Deval Shah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160725/322fcb8d/attachment.html>
More information about the devel
mailing list