search for: blazer_usb_ldadd

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

2014 Oct 20
1
[PATCH] missing -lm in drivers/Makefile
...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 2014-10-20 15:50:32.000000000 +0200 @@ -785,7 +785,7 @@ tripplite_us...
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 error > for functions that are in the included usb-common.h file. &...
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