[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lchmod cygwin failure
From: |
Eric Blake |
Subject: |
Re: lchmod cygwin failure |
Date: |
Mon, 29 Mar 2010 10:01:38 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3 |
On 03/25/2010 01:41 AM, Simon Josefsson wrote:
> Building in cygwin fails because:
>
> depbase=`echo test-fcntl-h-c++.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -I../gllib -I./../gllib
> -MT test-fcntl-h-c++.o -MD -MP -MF $depbase.Tpo -c -o test-fcntl-h-c++.o
> test-fcntl-h-c++.cc &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from ../gllib/fcntl.h:41,
> from test-fcntl-h-c++.cc:22:
> ../gllib/sys/stat.h:668: error: ‘lchmod’ was not declared in this scope
> ../gllib/sys/stat.h:668: error: invalid type in declaration before ‘;’
> token
> make[3]: *** [test-fcntl-h-c++.o] Error 1
>
> (Not sure how the broken UTF-8 characters happened..)
What terminal are you using? It is most likely a case of using a locale
with a UTF-8 charset, but a terminal like rxvt that does not support
multibyte characters (rxvt development has pretty much been abandoned
upstream, but newer urxvt understands UTF-8).
>
> Any ideas?
Looks like Bruno's patches fix the issue. Indeed, lchmod is an optional
function - it exists in BSD, but is not standardized.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature