From: <no...@so...> - 2001-08-23 19:26:09
|
Bugs item #454678, was opened at 2001-08-23 12:26 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=104664&aid=454678&group_id=4664 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: yytext problem on ultra-10 sunos 5.7 Initial Comment: I installed flex and adjusted my PATH so flex is in it and lex isn't. I tried --with-flex option but it didn't help. Here's some output: ]./configure loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking host system type... sparc-sun-solaris2.7 checking user specification of lexer... checking user specification of yacc... checking for a BSD compatible install... ./install-sh -c checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for flex... (cached) lex checking for flex... (cached) lex checking for yywrap in -ll... (cached) yes checking lex output file root... (cached) lex.yy checking whether yytext is a pointer... (cached) no checking for bison... no checking for byacc... no checking location of ncurses.h file Found ncurses on /usr/include/ncurses.h checking for ncurses version... VERSION:NCURSES_VERSION checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for sys/window.h... (cached) no checking for sys/termios.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for getcwd... (cached) yes checking for regcmp... (cached) yes checking for regcomp... (cached) yes checking for strerror... (cached) yes checking for vsnprintf... (cached) yes checking for snprintf... (cached) yes creating ./config.status creating Makefile creating doc/Makefile creating src/Makefile creating contrib/Makefile creating config.h config.h is unchanged Sun 560$ kilner@kilner ~/0/cscope-15.3 ]gnumake clean Making clean in . gnumake[1]: Entering directory `/home/kilner/0/cscope-15.3' gnumake[1]: Nothing to be done for `clean-am'. gnumake[1]: Leaving directory `/home/kilner/0/cscope-15.3' Making clean in contrib gnumake[1]: Entering directory `/home/kilner/0/cscope-15.3/contrib' gnumake[1]: Nothing to be done for `clean'. gnumake[1]: Leaving directory `/home/kilner/0/cscope-15.3/contrib' Making clean in src gnumake[1]: Entering directory `/home/kilner/0/cscope-15.3/src' test -z "cscope" || rm -f cscope test -z "scanner.c fscanner.c egrep.c" || rm -f scanner.c fscanner.c egrep.c rm -f *.o core *.core gnumake[1]: Leaving directory `/home/kilner/0/cscope-15.3/src' Making clean in doc gnumake[1]: Entering directory `/home/kilner/0/cscope-15.3/doc' gnumake[1]: Nothing to be done for `clean'. gnumake[1]: Leaving directory `/home/kilner/0/cscope-15.3/doc' Sun 561$ kilner@kilner ~/0/cscope-15.3 ]gnumake gnumake all-recursive gnumake[1]: Entering directory `/home/kilner/0/cscope-15.3' Making all in doc gnumake[2]: Entering directory `/home/kilner/0/cscope-15.3/doc' gnumake[2]: Nothing to be done for `all'. gnumake[2]: Leaving directory `/home/kilner/0/cscope-15.3/doc' Making all in src gnumake[2]: Entering directory `/home/kilner/0/cscope-15.3/src' /bin/sh ./ylwrap "lex" scanner.l lex.yy.c scanner.c -- gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c scanner.c In file included from scanner.l:39: scanner.h:81: conflicting types for `yytext' scanner.c:623: previous declaration of `yytext' lex.yy.c: In function `yylex': lex.yy.c:919: invalid operands to binary - lex.yy.c:994: `yytext' has an incomplete type lex.yy.c:994: `yytext' has an incomplete type lex.yy.c:994: invalid operands to binary - scanner.l:515: `yytext' has an incomplete type scanner.l:515: `yytext' has an incomplete type scanner.l:515: invalid operands to binary - lex.yy.c:1632: invalid operands to binary - lex.yy.c: In function `yy_get_next_buffer': lex.yy.c:1780: invalid operands to binary - lex.yy.c:1800: invalid operands to binary - lex.yy.c:1891: `yytext' has an incomplete type lex.yy.c: In function `yyunput': lex.yy.c:1995: `yytext' has an incomplete type lex.yy.c: In function `input': lex.yy.c:2024: invalid operands to binary - lex.yy.c: In function `yy_load_buffer_state': lex.yy.c:2128: `yytext' has an incomplete type scanner.l: At top level: scanner.h:81: warning: array `yytext' assumed to have one element gnumake[2]: *** [scanner.o] Error 1 gnumake[2]: Leaving directory `/home/kilner/0/cscope-15.3/src' gnumake[1]: *** [all-recursive] Error 1 gnumake[1]: Leaving directory `/home/kilner/0/cscope-15.3' gnumake: *** [all-recursive-am] Error 2 Sun 562$ kilner@kilner ~/0/cscope-15.3 ]Dooh failed again! ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=104664&aid=454678&group_id=4664 |