Description of problem: pdftex won't build on Fedora 11 with glibc-2.10.1-5 because stdio.h in the latter declares a non-standard function getline, which is also defined in the pdftex sources. Version-Release number of selected component (if applicable): glibc-2.10.1-5 How reproducible: Steps to Reproduce: 1. build.sh in pdftex 2. 3. Actual results: In file included from tangleboot.c:94: tangleboot.h:34: error: conflicting types for 'getline' /usr/include/stdio.h:653: note: previous declaration of 'getline' was here tangleboot.c:2175: error: conflicting types for 'getline' /usr/include/stdio.h:653: note: previous declaration of 'getline' was here Expected results: When the declaration of getline iin stfio.h is commented out, pdftex builds as usual. Additional info:
getline is a standard POSIX 2008 function, and glibc headers by default offer POSIX 2008 namespace. See info libc 'Feature Test Macros' for details. You should just either fix pdftex to use a different name, not reserved by POSIX 2008, or use a namespace macro that doesn't provide POSIX 2008 stuff.