[GCC-XML] Failed when building on Cygwin

Eli Golovinsky egooli at gmail.com
Thu Aug 6 14:00:57 EDT 2009


Hi,

I'm building GCC-XML and I followed the instructions in the Readme file and
cmake choked.

Running on Windows XP SP2 with a recent Cygwin (downloaded and installed
today).

Any clues?

Thanks.

-------------------

$ cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/utils

... many lines that look fine to (ran out of buffer in the session)

-- Looking for declaration of strstr
-- Looking for declaration of strstr - found
-- Looking for declaration of errno
-- Looking for declaration of errno - found
-- Looking for declaration of asprintf
-- Looking for declaration of asprintf - found
-- Looking for declaration of vasprintf
-- Looking for declaration of vasprintf - found
-- Looking for declaration of malloc
-- Looking for declaration of malloc - found
-- Looking for declaration of realloc
-- Looking for declaration of realloc - found
-- Looking for declaration of calloc
-- Looking for declaration of calloc - found
-- Looking for declaration of free
-- Looking for declaration of free - found
-- Looking for declaration of basename
-- Looking for declaration of basename - not found
-- Looking for declaration of getopt
-- Looking for declaration of getopt - not found
-- Looking for declaration of clock
-- Looking for declaration of clock - found
-- Looking for declaration of getrlimit
-- Looking for declaration of getrlimit - found
-- Looking for declaration of setrlimit
-- Looking for declaration of setrlimit - found
-- Looking for declaration of getrusage
-- Looking for declaration of getrusage - found
-- Looking for declaration of ldgetname
-- Looking for declaration of ldgetname - not found
-- Looking for declaration of sigaltstack
-- Looking for declaration of sigaltstack - not found
-- Looking for declaration of getpagesize
-- Looking for declaration of getpagesize - found
-- Looking for declaration of times
-- Looking for declaration of times - not found
-- Checking for struct tms
-- Checking for struct tms - found
-- Checking for clock_t
-- Checking for clock_t - found
running /usr/bin/sh.exe
"/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config_cmake/gcc_platform.sh"
"/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml-build/GCC/config_cmake/gcc_platform.cmake"
"/usr/bin/cmake.exe"  2>&1
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 6: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 8: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 28: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 29: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 40: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 42: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 54: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 64: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 67: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 70: syntax error near unexpected token `$'in\r''
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
line 7': `  case $1 in
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
6: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
8: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
32: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
33: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
41: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
49: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
56: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
58: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
71: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
80: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
83: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
86: syntax error near unexpected token `$'in\r''
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line
86:'`  case $1 in
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 4: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 6: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 11: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 16: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 21: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 27: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 30: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 45: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 51: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
line 53: syntax error near unexpected token `$'in\r''
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build:
li'e 53: `case $build in
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 4: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 6: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 11: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 16: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 21: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 27: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 30: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 59: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 63: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 74: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
line 77: syntax error near unexpected token `$'in\r''
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host:
lin' 77: `case ${host} in
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 4: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 6: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 11: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 16: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 21: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 27: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 51: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 146: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 152: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 181: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 185: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 189: $'\r': command not found
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line 191: syntax error near unexpected token `$'in\r''
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc:
line'191: `case ${target} in
-- Checking whether header cstdio is available
-- Checking whether header cstdio is available - yes
-- Checking for Large File Support
-- Checking for Large File Support - no
-- Checking whether STL classes are in std namespace
-- Checking whether STL classes are in std namespace - yes
-- Checking whether ANSI stream headers are available
-- Checking whether ANSI stream headers are available - yes
-- Checking whether ANSI streams are in std namespace
-- Checking whether ANSI streams are in std namespace - yes
-- Checking whether ANSI string stream is available
-- Checking whether ANSI string stream is available - yes
-- Checking whether header cstddef is available
-- Checking whether header cstddef is available - yes
-- Checking whether stl string has operator!= for char*
-- Checking whether stl string has operator!= for char* - yes
-- Checking whether stl has iterator_traits
-- Checking whether stl has iterator_traits - yes
-- Checking whether stl has standard template allocator
-- Checking whether stl has standard template allocator - yes
-- Checking for rebind member of stl allocator
-- Checking for rebind member of stl allocator - yes
-- Checking for non-standard argument to stl allocator<>::max_size
-- Checking for non-standard argument to stl allocator<>::max_size - no
-- Checking whether stl containers support allocator objects.
-- Checking whether stl containers support allocator objects. - yes
-- Checking whether "<>" is needed for template friends
-- Checking whether "<>" is needed for template friends - yes
-- Checking for member template support
-- Checking for member template support - yes
-- Checking for standard template specialization syntax
-- Checking for standard template specialization syntax - yes
-- Checking whether argument dependent lookup is supported
-- Checking whether argument dependent lookup is supported - yes
-- Checking whether struct stat has st_mtim member
-- Checking whether struct stat has st_mtim member - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
-- Configuring done
CMake Error in GCC/gcc/CMakeLists.txt:
  Cannot find source file ".c".  Tried extensions .c .C .c++ .cc .cpp .cxx
.m
  .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


-- Build files have been written to:
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml-build

---
gooli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20090806/5320950f/attachment.html>


More information about the gccxml mailing list