Making check in scripts
depbase=`echo gethelp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I/sw/lib/flex/include -I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/sw/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_REENTRANT -D_THREAD_SAFE -pthread -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_REENTRANT -MT gethelp.o -MD -MP -MF $depbase.Tpo -c -o gethelp.o gethelp.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ../libgnu/sys/select.h:58,
from /usr/include/unistd.h:519,
from ../libgnu/unistd.h:45,
from /usr/include/c++/4.2.1/i686-apple-darwin10/bits/os_defines.h:61,
from /usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h:41,
from /usr/include/c++/4.2.1/cstdio:50,
from gethelp.cc:27:
../libgnu/string.h:458: error: expected ‘,’ or ‘...’ before ‘__dest’
../libgnu/string.h:458: error: nonnull argument with out-of-range operand number (argument 1, operand 2)
In file included from ../libgnu/unistd.h:100,
from /usr/include/c++/4.2.1/i686-apple-darwin10/bits/os_defines.h:61,
from /usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h:41,
from /usr/include/c++/4.2.1/cstdio:50,
from gethelp.cc:27:
../libgnu/getopt.h:196: error: redefinition of ‘struct option’
/usr/include/getopt.h:54: error: previous definition of ‘struct option’
make[2]: *** [gethelp.o] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2