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 ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature