[chuck-dev] Build problem for 1.2.0.3

Erik de Castro Lopo mle+chuck at mega-nerd.com
Sun Oct 23 02:22:08 EDT 2005


Hi all,

Trying to build 1.2.0.3 and get:

    erikd at miles > make linux-alsa
    make -f makefile.alsa
    make[1]: Entering directory `/home/erikd/chuck-1.2.0.3/src'
    bison -dv -b chuck chuck.y
    gcc -D__LINUX_ALSA__ -O3 -c -D__CK_SNDFILE_NATIVE__ chuck.tab.c
    flex -ochuck.yy.c chuck.lex
    gcc -D__LINUX_ALSA__ -O3 -c -D__CK_SNDFILE_NATIVE__ chuck.yy.c
    chuck.lex: In function 'comment':
    chuck.lex:246: warning: comparison is always true due to limited range of data type
    chuck.lex: In function 'block_comment':
    chuck.lex:262: warning: comparison is always true due to limited range of data type
    chuck.lex:272: warning: comparison is always false due to limited range of data type
    chuck.lex:280: error: 'yytext_ptr' undeclared (first use in this function)
    chuck.lex:280: error: (Each undeclared identifier is reported only once
    chuck.lex:280: error: for each function it appears in.)
    make[1]: *** [chuck.yy.o] Error 1
    make[1]: Leaving directory `/home/erikd/chuck-1.2.0.3/src'
    make: [linux-alsa] Error 2 (ignored)

The system is an Apple iBook running Debian testing. Versions of stuff
are as follows:

    erikd at miles > gcc --version
    gcc (GCC) 4.0.2 (Debian 4.0.2-2)
    Copyright (C) 2005 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    erikd at miles > flex --version
    flex 2.5.31
    erikd at miles > bison --version
    bison (GNU Bison) 1.875d
    Written by Robert Corbett and Richard Stallman.

    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"Even Napoleon had his Watergate" -- Michael Spautz
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"No Silicon Heaven?  Preposterous!  Where would
all the calculators go?" -- Kryten, Red Dwarf


More information about the chuck-dev mailing list