Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 15:00:54 -0400
From:      "Cameron Worrell" <cworrell@telocity.com>
To:        "'Edwin Groothuis'" <edwin@mavetju.org>
Cc:        <Lars.Koeller@Uni-Bielefeld.de>, <ports@FreeBSD.org>
Subject:   RE: FreeBSD Port: apcupsd-3.8.5_1
Message-ID:  <000001c222c3$f5f868e0$fdc8a8c0@homepc>
In-Reply-To: <20020703132132.E558@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, that worked. Guess I am out of luck for USB support in apcupsd
since it is linux-centric. Have to wait for the serial cable from APC.
It is a little frustrating as FreeBSD picks up the UPS over usb
instantly...

uhid0: American Power Conversion Back-UPS 350 FW: 5.4.D USB FW: c1 , rev
1.10/1.00, addr 2, iclass 3/0


Oh well... Thanx for the assistance.
 
Cameron Worrell

-----Original Message-----
From: Edwin Groothuis [mailto:edwin@mavetju.org] 
Sent: Tuesday, July 02, 2002 11:22 PM
To: Cameron Worrell
Cc: Lars.Koeller@Uni-Bielefeld.de; ports@FreeBSD.org
Subject: Re: FreeBSD Port: apcupsd-3.8.5_1


On Tue, Jul 02, 2002 at 10:50:51PM -0400, Cameron Worrell wrote:
>   Apologies in advance for the Spam. I read through a thread on the 
> dev-group and was wondering if there was a patch to correct the issues

> with any version greater than 3.9.4. I have a CS 350 /USB that 
> requires it. The only version I have successfully compiled is 3.8.5.
>  
> 3.9.4 and 3.9.8 fail with the following...
>  
> (internal libintl disabled)
> gcc -DHAVE_CONFIG_H -c -I. -I./include  -g -O2 apcupsd.c
> gcc -DHAVE_CONFIG_H -c -I. -I./include  -g -O2 apcnet.c
> apcnet.c: In function `send_to_slave':
> apcnet.c:274: `ETIME' undeclared (first use in this function)
> apcnet.c:274: (Each undeclared identifier is reported only once
> apcnet.c:274: for each function it appears in.)

ETIME is a linux-ism(*).

Seen how it is further used in the code (quick grep on it), I think you
can safely replace it with ETIMEDOUT.

(*) defined in /usr/include/asm/errno.h but not in the errno man-page.

Edwin

-- 
Edwin Groothuis      |           Personal website:
http://www.MavEtJu.org
edwin@mavetju.org    |        Interested in MUDs? Visit Fatal
Dimensions:
bash$ :(){ :|:&};:   |
http://www.FatalDimensions.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c222c3$f5f868e0$fdc8a8c0>