But I noticed also many warnings:
========================
[...]
/tmp/work/emacs/lib-src/make-docfile.c:167: warning: ignoring return
value of ‘chdir’, declared with attribute warn_unused_result
/tmp/work/emacs/lib-src/make-docfile.c: In function ‘scan_c_file’:
/tmp/work/emacs/lib-src/make-docfile.c:677: warning: ignoring return
value of ‘fscanf’, declared with attribute warn_unused_result
/tmp/work/emacs/lib-src/make-docfile.c:682: warning: ignoring return
value of ‘fscanf’, declared with attribute warn_unused_result
That's a misfeature of your system headers and/or of the version of
GCC you are using. (Did you per chance used -Wall?) FWIW, I see no
such warnings with GCC 4.2.4.