[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failed make with gcc 3.2.2 and flex 2.5.31
From: |
Bryan Koschmann - GKT |
Subject: |
Re: failed make with gcc 3.2.2 and flex 2.5.31 |
Date: |
Fri, 11 Apr 2003 12:22:07 -0700 (PDT) |
On Fri, 11 Apr 2003, Peter B. Steiger wrote:
|
|That's about what I did. I think I installed it to /usr/gcc2 - man pages,
libs, includes,
|bin, everything went to /usr/gcc2. Also, during the configure (of gcc) I gave
the
|option --with-suffix="-2.95.3", so the binaries were created as gcc-2.95.3 and
so on.
|Then I created a symbolic link in /usr/bin called gcc2 ->
/usr/gcc2/bin/gcc-2.95.3 as
|well as c++2 -> /usr/gcc2/bin/c++-2.95.3. Finally when I ran configure for
flex I said:
|CC=gcc2 CPP=c++2 ./configure --whatever-options-i-don't-remember-now
|
|I used the same CC and CPP options to configure/build bison and lilypond, and
next
|thing I knew some elves had left a working copy of lilypond on my doorstep
while I
|slept.
|
Peter,
I went on to try this. A new download of bison, fresh flex, and did all
that, verified it was using my gcc. Lilypond make still fails:
rm -f ./out/includable-lexer.dep;
DEPENDENCIES_OUTPUT="./out/includable-lexer.dep ./out/includable-lexer.o"
/usr/local/newgcc/bin/g++2 -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED
-Iinclude -I./out -I../flower/include -I../flower/./out
-I../flower/include -O2 -finline-functions -g
-I/usr/share/texmf/include/ -O2 -finline-functions -g
-I/usr/share/texmf/include/ -Wall -W -Wmissing-prototypes -Wconversion
-o out/includable-lexer.o includable-lexer.cc
includable-lexer.cc: In method `Includable_lexer::Includable_lexer()':
includable-lexer.cc:31: `yy_current_buffer' undeclared (first use this
function)
includable-lexer.cc:31: (Each undeclared identifier is reported only once
includable-lexer.cc:31: for each function it appears in.)
make[1]: *** [out/includable-lexer.o] Error 1
make[1]: Leaving directory `/usr/src/lilypond/lily'
make: *** [all] Error 2
I think I may just start over with Slack 8.1, unless someone else here
knows some more magic! :)
Bryan