How do I go about debugging and fixing these errors? I suspect they are more fallout from Paul's efforts to revamp how 'inline' works; these were reproduced by temporarily bumping m4 to the latest gnulib.git and compiling on a RHEL 5.8 machine (kernel 2.6.18, glibc 2.5, gcc 4.6.4):
gcc -std=gnu99 -g -O2 -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o macro.o output.o path.o symtab.o ../lib/libm4.a /usr/local/lib/libsigsegv.a -lc builtin.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' m4.o:/usr/include/bits/string3.h:156: first defined here It's choking on this, and any other function, where older glibc uses the following style of declaration: extern __always_inline char * __NTH (stpncpy (char *__dest, __const char *__src, size_t __n)) { ... } -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature