bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

opendir.c: In function 'rpl_opendir': error: 'errno' undeclared (first u


From: Tatsuro MATSUOKA
Subject: opendir.c: In function 'rpl_opendir': error: 'errno' undeclared (first use in this function)
Date: Wed, 14 Sep 2011 12:42:04 +0900 (JST)

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  <address@hidden>

<snip>
    * lib/opendir.c: New file.

Is it possible the change above to be an origin of the compile error?   



reply via email to

[Prev in Thread] Current Thread [Next in Thread]