Hi, On Sun, Jan 15, 2012 at 03:12:50AM +0300, Alexander Kolesen wrote: > Hello. > > I've tried to build strace-4.6 with clang-3.0 and got the following > error: > > /usr/bin/clang -DHAVE_CONFIG_H -I. -I./linux/x86_64 -I./linux -I./linux > -Wall -Wwrite-strings -O2 -pipe -MT strace.o -MD -MP -MF .deps/strace.Tpo -c > -o strace.o strace.c > strace.c:102:8: error: unknown type name 'bool' > static bool daemonized_tracer = 0; > > When the configure script was running, i've got: > checking for stdbool.h that conforms to C99... no > > It happens because configure test for stdbool.h is failing on > clang-3.0. I've attached the patch that fixes the issue.
The test for stdbool.h is implemented by autoconf's AC_HEADER_STDBOOL. Try this simple configure.ac file: $ cat configure.ac AC_INIT AC_HEADER_STDBOOL with $ autoconf && ./configure If it fails to test stdbool.h properly, please contact bug-autoconf mailing list. -- ldv
pgpoAhkuNF9Lt.pgp
Description: PGP signature
------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
