Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 15:00:54 -0400
From:      "Cameron Worrell" <>
To:        "'Edwin Groothuis'" <>
Cc:        <>, <>
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

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 [] 
Sent: Tuesday, July 02, 2002 11:22 PM
To: Cameron Worrell
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 Groothuis      |           Personal website:    |        Interested in MUDs? Visit Fatal
bash$ :(){ :|:&};:   |

To Unsubscribe: send mail to
with "unsubscribe freebsd-ports" in the body of the message

Want to link to this message? Use this URL: <$f5f868e0$fdc8a8c0>