This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

building the gcc-3.2-3 bootstrap fails on libstdc++-v3


As promised, I have started to check the releases
of cygwin by bootstrapping them.
This one got pretty far, all the way to libstdc++-v3.

The error is :
../../../../include/getopt.h:115: declaration of C function `int
getopt()'
   conflicts with
/usr/include/sys/unistd.h:125: previous declaration `int getopt(int,
char*   const*, const char*)' here

Please note that the make boostrap does not work with gcc 3.2-3

Thanks,
mike

--------------------------------------------------
make[2]: Entering directory
`/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3'

/bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile
/usr/src/gcc-3.2-3/i686-pc-cygwin/gcc/xgcc -shared-libgcc
-B/usr/src/gcc-3.2-3/i686-pc-cygwin/gcc/ -nostdinc++ 
-L/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/src
-L/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/src/.libs
-
B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/
-isystem /usr/local/i686-pc-cygwin/include
-I../../../../libstdc++-v3/../gcc -I../../../../libs
tdc++-v3/../include
-I/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include
-I../../../../libstdc++-v3/libsupc++   -g -O2 -fno-implicit-templates 
-Wall -Wno-format -W -Wwrite-strings -Winline 
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
-g    -c ../../../../libstdc++-v3
/libsupc++/pure.cc
/usr/src/gcc-3.2-3/i686-pc-cygwin/gcc/xgcc -shared-libgcc
-B/usr/src/gcc-3.2-3/i686-pc-cygwin/gcc/ -nostdinc++
-L/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/src
-L/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -
isystem /usr/local/i686-pc-cygwin/include
-I../../../../libstdc++-v3/../gcc -I../../../../libstdc++-v3/../include
-I/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include
-I../../../../libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates
-Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics
-show-location=once -ffunction-sections -fdata-sections -g -c
../../../../libstdc++-v3/libsupc++/pure.cc -o pure.o
cc1plus: warning: -ffunction-sections may affect debugging on some
targets
In file included from /usr/include/unistd.h:8,
                 from ../../../../libstdc++-v3/libsupc++/pure.cc:34:
../../../../include/getopt.h:115: declaration of C function `int
getopt()'
   conflicts with
/usr/include/sys/unistd.h:125: previous declaration `int getopt(int,
char*   const*, const char*)' here
make[4]: *** [pure.lo] Error 1
make[4]: Leaving directory
`/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/usr/src/gcc-3.2-3/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/usr/src/gcc-3.2-3/i686-pc-cygwin'
make: *** [bootstrap] Error 2

=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]