Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 13:21:33 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Cameron Worrell <cworrell@telocity.com>
Cc:        Lars.Koeller@Uni-Bielefeld.de, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: apcupsd-3.8.5_1
Message-ID:  <20020703132132.E558@k7.mavetju>
In-Reply-To: <000001c2223c$71ea0720$fdc8a8c0@homepc>; from cworrell@telocity.com on Tue, Jul 02, 2002 at 10:50:51PM -0400
References:  <000001c2223c$71ea0720$fdc8a8c0@homepc>

next in thread | previous in thread | raw e-mail | index | archive | help
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?20020703132132.E558>