Hello I am one of the build tester of GNU octave. The GNU octave uses the gnulib. After I have pulled the git components, I have met compile error of opendir.c in gnulib components.
libtool: compile: gcc -shared-libgcc -DHAVE_CONFIG_H -I. -I../../../hg/octave-work/libgnu -I.. -I/c/Programs/gplibs/include -I/c/Programs/OctaveLibs/include -I/c/Programs/GnuWin32/include -g -O3 -MT opendir.lo -MD -MP -MF .deps/opendir.Tpo -c ../../../hg/octave-work/libgnu/opendir.c -DDLL_EXPORT -DPIC -o .libs/opendir.o ../../../hg/octave-work/libgnu/opendir.c: In function 'rpl_opendir': ../../../hg/octave-work/libgnu/opendir.c:136:27: error: 'errno' undeclared (first use in this function) ../../../hg/octave-work/libgnu/opendir.c:136:27: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [opendir.lo] Error 1 make[4]: Leaving directory `/home/octaves/OctBuild/hg-devel/libgnu' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/octaves/OctBuild/hg-devel/libgnu' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/octaves/OctBuild/hg-devel/libgnu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/octaves/OctBuild/hg-devel' make: *** [all] Error 2 My environment: OS windows 7 Home Premium 64 bit. Compiler : MinGW gcc 4.5.2. I have found in the ChangeLog 2011-09-12 Bruno Haible <br...@clisp.org> <snip> * lib/opendir.c: New file. Is it possible the change above to be an origin of the compile error?