Bryan Chua
2013-06-15 08:08:13 UTC
I just checked out the latest CVS sources and I am unable to build them. Am I missing a package or something?
gcc -L/export/home/bchua/devel/cygwin/build/i686-pc-cygwin/winsup/cygwin -isystem /export/home/bchua/devel/cygwin/src/winsup/cygwin/include -B/export/home/bchua/devel/cygwin/build/i686-pc-cygwin/newlib/ -isystem /export/home/bchua/devel/cygwin/build/i686-pc-cygwin/newlib/targ-include -isystem /export/home/bchua/devel/cygwin/src/newlib/libc/include -I/export/home/bchua/devel/cygwin/src/winsup/cygwin/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"newlib\ 2.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../src/newlib/libc/locale -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED -fno-builtin -g -O2 -c -o lib_a-nl_langinfo.o `test -f 'nl_langinfo.c' || echo '../../../../../src/newlib/libc/locale/'`nl_langinfo.c
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: parse error before "struct"
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: `outdigits' undeclared here (not in a function)
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: (near initialization for `nl_ext[0].offset')
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: parse error before ')' token
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: (near initialization for `nl_ext[0]')
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: (near initialization for `nl_ext[1].<anonymous>')
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: parse error before "struct"
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: (near initialization for `nl_ext[1].offset')
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: parse error before ')' token
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: (near initialization for `nl_ext[1]')
-- bryan
gcc -L/export/home/bchua/devel/cygwin/build/i686-pc-cygwin/winsup/cygwin -isystem /export/home/bchua/devel/cygwin/src/winsup/cygwin/include -B/export/home/bchua/devel/cygwin/build/i686-pc-cygwin/newlib/ -isystem /export/home/bchua/devel/cygwin/build/i686-pc-cygwin/newlib/targ-include -isystem /export/home/bchua/devel/cygwin/src/newlib/libc/include -I/export/home/bchua/devel/cygwin/src/winsup/cygwin/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"newlib\ 2.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../src/newlib/libc/locale -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED -fno-builtin -g -O2 -c -o lib_a-nl_langinfo.o `test -f 'nl_langinfo.c' || echo '../../../../../src/newlib/libc/locale/'`nl_langinfo.c
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: parse error before "struct"
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: `outdigits' undeclared here (not in a function)
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: (near initialization for `nl_ext[0].offset')
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: parse error before ')' token
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:66: error: (near initialization for `nl_ext[0]')
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: (near initialization for `nl_ext[1].<anonymous>')
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: parse error before "struct"
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: (near initialization for `nl_ext[1].offset')
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: parse error before ')' token
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: initializer element is not constant
../../../../../src/newlib/libc/locale/nl_langinfo.c:67: error: (near initialization for `nl_ext[1]')
-- bryan