From: SourceForge.net <no...@so...> - 2006-04-19 09:15:42
|
Bugs item #1472848, was opened at 2006-04-19 02:15 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1472848&group_id=4664 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Can't build under Cygwin Initial Comment: I just downloaded cscope-15.5.tar.gz and tried to build it under Cygwin. I update Cygwin immediately before and I use a full Cygwin. The build fails during make, saying something about conflicting types for getline. Here is the output from the build process: $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking how to run the C preprocessor... gcc -E checking for egrep... grep -E configure: checking "location of ncurses.h file"... Found ncurses on /usr/include/ncurses.h checking for ncurses version... 5.5 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp in -lregex... no checking for gnome-config... true checking for pkg-config... true checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/window.h usability... no checking sys/window.h presence... no checking for sys/window.h... no checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for strchr... yes checking for memcpy... yes checking for memset... yes checking for setmode... yes checking for _setmode... yes checking for getcwd... yes checking for regcmp... no checking for regcomp... yes checking for strerror... yes checking for vsnprintf... yes checking for snprintf... yes checking for lstat... yes checking for fixkeypad... no checking whether lstat dereferences a symlink specified with a trailing slash.. yes checking whether lstat accepts an empty string... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands $ make make all-recursive make[1]: Entering directory `/cygdrive/c/DL/emacs/cscope-15.5' Making all in doc make[2]: Entering directory `/cygdrive/c/DL/emacs/cscope-15.5/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/cygdrive/c/DL/emacs/cscope-15.5/doc' Making all in src make[2]: Entering directory `/cygdrive/c/DL/emacs/cscope-15.5/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT fscanner.o -MD -MP -MF ".dep /fscanner.Tpo" \ -c -o fscanner.o `test -f 'fscanner.c' || echo './'`fscanner.c; \ then mv ".deps/fscanner.Tpo" ".deps/fscanner.Po"; \ else rm -f ".deps/fscanner.Tpo"; exit 1; \ fi In file included from fscanner.l:38: global.h:395: error: conflicting types for 'getline' /usr/include/sys/stdio.h:31: error: previous declaration of 'getline' was here global.h:395: error: conflicting types for 'getline' /usr/include/sys/stdio.h:31: error: previous declaration of 'getline' was here make[2]: *** [fscanner.o] Error 1 make[2]: Leaving directory `/cygdrive/c/DL/emacs/cscope-15.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/c/DL/emacs/cscope-15.5' make: *** [all] Error 2 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1472848&group_id=4664 |