From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18491 invoked by alias); 11 Jan 2014 08:58:42 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18313 Received: (qmail 20153 invoked from network); 11 Jan 2014 08:58:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Message-ID: <52D1079D.40007@bernd-steinhauser.de> Date: Sat, 11 Jan 2014 09:58:05 +0100 From: Bernd Steinhauser User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: Compilation failure for zsh-5.0.5 References: <52D06EA2.1080100@bernd-steinhauser.de> <140110155525.ZM21199@torch.brasslantern.com> In-Reply-To: <140110155525.ZM21199@torch.brasslantern.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/01/14 00:55, Bart Schaefer wrote: > On Jan 10, 11:05pm, Bernd Steinhauser wrote: > } > } In file included from /usr/include/sys/capability.h:30:0, > } from ../../Src/zsh_system.h:510, > } from ../../Src/zsh.mdh:17, > } from attr.mdh:17, > } from attr.c:30: > } /usr/include/sys/xattr.h:31:3: error: expected identifier before numeric constant > } XATTR_CREATE = 1, /* set value, fail if attr already exists. */ > } ^ > } [...] > } > } The used glibc version is 2.17. Anyone can help? > > That error is coming from a system-level header file ... we need to know > not just the glibc version, but the compiler and also operating system you > are compiling on, whether you're cross-compiling for something else, etc. > > Even then our ability to help will be determined by whether we have a > similar platform to try out. > Operating System is Exherbo Linux with kernel 3.13.0-rc7 running on amd64: uname -a Linux orionis 3.13.0-rc7 #1 SMP PREEMPT Tue Jan 7 23:45:18 CET 2014 x86_64 GNU/Linux There is no cross compiling, I'm compiling on this computer for exactly this platform and this computer. I didn't do any special setup for the build environment, just ran configure (without any options) and make. compiler: gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/paludis/build/sys-devel-gcc-4.8.2-r2/work/gcc-4.8.2/configure --prefix=/usr --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --enable-fast-install --libdir=/usr/lib64 --cache-file=config.cache --libdir=/usr/lib64 --with-pkgversion='exherbo gcc-4.8.2-r2' --program-suffix=-4.8 --disable-bootstrap --enable-clocale=gnu --enable-languages=c,c++,fortran,objc,obj-c++ --enable-lto --enable-multilib --enable-nls --enable-serial-configure --enable-libquadmath --enable-libquadmath-support --without-cloog --enable-libgomp --disable-libobjc --disable-libssp --with-as=x86_64-pc-linux-gnu-as --with-ld=x86_64-pc-linux-gnu-ld --with-system-zlib Thread model: posix gcc version 4.8.2 (exherbo gcc-4.8.2-r2) In case this might be useful, binutils is version 2.24. Linux headers are from 3.12. Currently, I have zsh 5.0.2 installed, which was built using gcc 4.7 and glibc 2.17. So this might be related to the new gcc (4.8) I have installed since 2 approx. weeks. Unfortunately, I removed the old gcc already, otherwise I would just check with that one and see if it compiles. I also noticed that glibc 2.17 has been build with gcc 4.7, no idea if that might be important. I will try to build it with the newer one and check if that helps.