bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error in 1.5.66


From: Jan Nieuwenhuizen
Subject: Re: Compilation error in 1.5.66
Date: Tue, 09 Jul 2002 03:38:17 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

address@hidden writes:

> When trying to compile 1.5.66 (with GCC 2.95.2), I get the error:
>
> rm -f ./out/source-file.dep; DEPENDENCIES_OUTPUT="./out/source-file.dep
> ./out/source-file.o" c++ -c  -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude
> -I./out -I.././lib/include -I../lib/./out -I.././flower/include
> -I../flower/./out -O2 -finline-functions -g   -I/home/matsb/include     -O2
> -finline-functions -g   -I/home/matsb/include -Wall  -W -Wmissing-prototypes
> -Wconversion  -o out/source-file.o source-file.cc
> source-file.cc:12: warning: No include path in which to find sstream

Looks like you're using an too old libstdc++.  Do you have the sstream
header at all?  You can maybe try to configure like this:

    CPPFLAGS=-I/usr/include/g++-3 ./configure

as I have that header in:
    
    libstdc++2.10-dev: /usr/include/g++-3/sstream
    libstdc++3-dev: /usr/include/g++-v3/sstream
    libstdc++4-dev: /usr/include/g++-v3-3.1/sstream

I don't really fancy adding conditional code for this, maybe we should
add a check for ssstream, or require gcc >= 2.95.3 (or .4?).  I don't
know how tightly libstdc++ versions are coupled to gcc.

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]