[Nut-upsuser] TrippLite/Compiling on FreeBSD
Charles Lepple
clepple at gmail.com
Mon Sep 26 22:27:36 UTC 2005
On 9/26/05, Charles Sprickman <spork at bway.net> wrote:
> On Mon, 26 Sep 2005, Charles Lepple wrote:
> > Try just running 'gmake tripplite_usb' in the drivers directory, and
> > if that works, './tripplite_usb -DDDDD auto'
>
> That bombs out as well:
>
> root at miko[/usr/local/src/nut/drivers]# gmake tripplite_usb
> gcc -I../include -O -Wall -Wsign-compare -I/usr/local/include -c
> tripplite_usb.ctripplite_usb.c: In function `upsdrv_initups':
> tripplite_usb.c:568: too few arguments to function `HIDDumpTree'
> tripplite_usb.c: At top level:
> tripplite_usb.c:134: warning: `bootdelay' defined but not used
> gmake: *** [tripplite_usb.o] Error 1
Actually, I didn't merge that completely into the development tree.
Try the "Tripp_Lite_Omni" branch.
> This is FreeBSD 4.11, just for reference. I looked at the patches in the
> FreeBSD port for the released version of NUT and didn't see much of
> anything beyond a few changes in the Makefile.
Many of the early NUT USB drivers were Linux-specific, since they
relied on the /dev/hiddevX interface (instead of libusb). So the USB
support may not have been tested.
> I'm assuming that 2.0.2 does not support this UPS, correct? As that does
> build clean.
Correct. tripplite_usb was added on the Development branch, which
probably won't get back-ported to 2.0.2.
--
- Charles Lepple
More information about the Nut-upsuser
mailing list