Re: [chrony-dev] O_NOFOLLOW undeclared |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] O_NOFOLLOW undeclared
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Tue, 16 Feb 2021 14:07:42 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613480868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ib0zMWBTOuLU9zvzoSo9NkKosJGs8lToRt3vUZQViXE=; b=OyNmIb/bUif1pAgyP8QtB0OjQd9LZkZpW4MXg1TtbnOlrRNXaoRnwcpCU93RtS08FVCFv2 WkZu5zdZNm4ITNmSGYqvG4ch0BlVSzzfWJ7CN05DqSXEXPbHXMIu7Cl2afPNCykJibHccE 7hOfM3im/m34YxMGxmY8pcNZgioeb0Q=
On Tue, Feb 16, 2021 at 11:45:37AM +0100, Marius Rohde wrote:
> Hello dev team,
>
> I tried to compile chrony 4.0 on an old system with glibc before 2.12 and
> got following error:
>
> "O_NOFOLLOW undeclared" in "util.c" function "UTI_OpenFile" line 1240
>
> To build util.c I had to add "#define _GNU_SOURCE" like discussed here:
> https://github.com/neovim/neovim/issues/4042
Do you disable the IPv6 support, or does the configure script not
enable _GNU_SOURCE for "struct in6_pktinfo"?
>
> It would be very nice if you could check for side effects and make it
> compilable on systems with an old glibc out of the box again.
I've pushed a fix. Please try the latest git and see if it works for
you.
Thanks,
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.