Menu

#190 [Cygwin] conflict with libc symbol "getline"

closed-duplicate
None
5
2006-06-09
2006-06-09
Anonymous
No

$ make
make all-recursive
make[1]: Entering directory `/cscope-15.5'
Making all in doc
make[2]: Entering directory `/cscope-15.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cscope-15.5/doc'
Making all in src
make[2]: Entering directory `/cscope-15.5/src'
/bin/sh ../ylwrap `test -f 'fscanner.l' || echo
'./'`fscanner.l lex.yy.c fscanne
r.c -- flex
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT
fscanner.o -MD -MP -MF ".deps
/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 `/cscope-15.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cscope-15.5'
make: *** [all] Error 2

Discussion

  • Nobody/Anonymous

    • assigned_to: nobody --> broeker
    • summary: Compiling in Cygwin --> [Cygwin] conflict with libc symbol "getline"
    • status: open --> closed-duplicate
     
  • Nobody/Anonymous

    Logged In: NO

    Duplicate. Fixed in CVS for quite a while already.

     

Log in to post a comment.