GCC 4.4 - Cygwin build failed in 'strsignal'

duongtu duongtu@gmail.com
Thu Sep 25 09:52:00 GMT 2008


Hi
Do you have experience about this Error when making GCC 4.4 (Snapshot 20080912) in Cygwin

•My command lines:
    rm -r *
    ../gcc-4.4-20080912/configure -disable-nls -disable-bootstrap -enable-checking=all -enable-static -disable-shared
    make all
•Received error from console:
    /cygdrive/c/WorkSpaces/gcc/gcc-core-4.4-20080912/gcc-4.4-20080912-build/./gcc/xgcc -B/cygdrive/c/WorkSpaces/gcc/gcc-core-4.4-20080912/gcc-4.4-20080912-build/./gcc/ -B/u
    sr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -isystem /usr/local/i686-pc-cygwin/sys-include -c -DHAVE_CONFIG
    _H -g -O2   -I. -I../../../gcc-4.4-20080912/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ../../../gcc-4.4-20080912/libiber
   ty/strsignal.c -o strsignal.o
   ../../../gcc-4.4-20080912/libiberty/strsignal.c:408: error: conflicting types for 'strsignal'
   /usr/include/string.h:78: note: previous declaration of 'strsignal' was here
   make[2]: *** [strsignal.o] Error 1
   make[2]: Leaving directory `/cygdrive/c/WorkSpaces/gcc/gcc-core-4.4-20080912/gcc-4.4-20080912-build/i686-pc-cygwin/libiberty'
   make[1]: *** [all-target-libiberty] Error 2
   make[1]: Leaving directory `/cygdrive/c/WorkSpaces/gcc/gcc-core-4.4-20080912/gcc-4.4-20080912-build'
   make: *** [all] Error 2

Please help me fix this Error or tell me which is the best stable configure for making GCC 4.4 in Cygwin

Regards,
Tu




More information about the Gcc-help mailing list