search for: blazer_usb_sourc

Displaying 3 results from an estimated 3 matches for "blazer_usb_sourc".

Did you mean: blazer_usb_sources
2014 Oct 20
1
[PATCH] missing -lm in drivers/Makefile
...rs/Makefile.am 2014-10-20 15:50:31.000000000 +0200 @@ -171,7 +171,7 @@ tripplite_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm bcmxcp_usb_SOURCES = bcmxcp_usb.c bcmxcp.c usb-common.c -bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) +bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm blazer_usb_SOURCES = blazer.c blazer_usb.c libusb.c usb-common.c blazer_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm diff -Naubr nut-2.7.2.old/drivers/Makefile.in nut-2.7.2.new/drivers/Makefile.in --- nut-2.7.2.old/drivers/Makefile.in 2014-04-17 22:26:31.000000000 +0200 +++ nut-2.7.2.new/drivers/Makefile.in 201...
2024 Nov 02
1
Driver with calls to USB functions not linking
Do your drivers/Makefile.am rules for the resulting new program specify dependencies to use similar to other USB-capable drivers? e.g. ```` blazer_usb_SOURCES = blazer.c blazer_usb.c $(LIBUSB_IMPL) usb-common.c blazer_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm ```` Jim On Sat, Nov 2, 2024 at 2:30?AM William R. Elliot <bill at wreassoc.com> wrote: > Hello again all. > > I am trying to use USB functions (non-HID) and I get a linker...
2024 Nov 02
1
Driver with calls to USB functions not linking
Hello again all. I am trying to use USB functions (non-HID) and I get a linker error for functions that are in the included usb-common.h file. Specifically, at the start, these functions: - warn_if_bad_usb_port_filename - nutusb_open - is_usb_device_supported Clearly the headers are there or I don't think the driver would compile. Can someone point me in the right direction please? Thank