The error messages mention the include file /usr/include/gmp-i386.hh, which
belongs to the gmp library, which isn't used directly by LilyPond but is
included
through libguile.h, i.e. the Guile standard include file. I would start
to verify that
gmp, Guile and gcc have compatible versions.
/Mats
thorne wrote:
Hello. I'm trying to build lilypond from whatever is the git lingo
equivalent of CVS head; I don't want to take up a lot of anyone's
time, but maybe someone would recognize the errors in the snippet from
the tail end of `make' output below. There were no obvious errors in
the autogen.sh/configure step. I am guessing there is some dependency
i haven't met, but i don't know where to start looking. Thanks for
any thoughts!
=======================================
Possibly relevant info:
Linux 2.6.19-1.2911.6.5.fc6 #1 SMP i686 i686 i386 GNU/Linux
autoconf (GNU Autoconf) 2.61b
automake (GNU automake) 1.10.0a
ltmain.sh (GNU libtool 1.2436 2007/03/19 13:21:37) 2.1a
m4 (GNU M4) 1.4.9
Guile 1.9.0
gettext (GNU gettext-runtime) 0.16.1
ghostscript 8.56
mftrace 1.2.5
texinfo-4.8-14.fc6
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
python-2.4.4-1.fc6
flex version 2.5.4
perl, v5.8.8 built for i386-linux-thread-multi
fontforge-20061025-2.fc6
bison (GNU Bison) 2.3
================================================
<snip lots>
make[1]: Leaving directory `/home/thorne/src/lilypond/lily'
make[1]: Entering directory `/home/thorne/src/lilypond/lily'
cp -p /home/thorne/src/lilypond/config.hh out/config.hh
rm -f ./out/accidental-engraver.dep;
DEPENDENCIES_OUTPUT="./out/accidental-engraver.dep ./out/accidental-engraver.o"
g++ -c -Woverloaded-virtual -DHAVE_CONFIG_H -DNDEBUG -I./include -I./out
-I../flower/include -I../flower/./out -I../flower/include -O2 -finline-functions -g
-pipe -I/usr/local/include -pthread -I/usr/include/freetype2 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-Wno-pmf-conversions -W -Wall -Wconversion -o out/accidental-engraver.o
accidental-engraver.cc
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/i386-redhat-linux/bits/c++locale.h:67:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stringfwd.h:48:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stringfwd.h:51:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stringfwd.h:54:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stringfwd.h:58:
error: template specialization with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stringfwd.h:63:
error: template specialization with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/postypes.h:80:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/postypes.h:94:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:54:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:57:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:60:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:63:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:66:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:69:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:73:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:77:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:81:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:85:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:88:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:91:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:94:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:97:
error: template with C linkage
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:100:
error: template with C linkage
/usr/include/gmp-i386.h:2090: error: declaration of C function 'std::ostream&
operator<<(std::ostream&, const __mpq_struct*)' conflicts with
/usr/include/gmp-i386.h:2089: error: previous declaration 'std::ostream&
operator<<(std::ostream&, const __mpz_struct*)' here
/usr/include/gmp-i386.h:2091: error: declaration of C function 'std::ostream&
operator<<(std::ostream&, const __mpf_struct*)' conflicts with
/usr/include/gmp-i386.h:2090: error: previous declaration 'std::ostream&
operator<<(std::ostream&, const __mpq_struct*)' here
/usr/include/gmp-i386.h:2093: error: declaration of C function 'std::istream&
operator>>(std::istream&, __mpq_struct*)' conflicts with
/usr/include/gmp-i386.h:2092: error: previous declaration 'std::istream&
operator>>(std::istream&, __mpz_struct*)' here
/usr/include/gmp-i386.h:2094: error: declaration of C function 'std::istream&
operator>>(std::istream&, __mpf_struct*)' conflicts with
/usr/include/gmp-i386.h:2093: error: previous declaration 'std::istream&
operator>>(std::istream&, __mpq_struct*)' here
/usr/local/include/libguile.h:144: error: 'scm_t_array' does not name a type
/usr/local/include/libguile.h:146: error: 'scm_t_c_bvec_limb' does not name a
type
/usr/local/include/libguile.h:170: error: 'scm_t_srcprops_chunk' does not name
a type
/usr/local/include/libguile.h:171: error: 'scm_t_srcprops' does not name a type
/usr/local/include/libguile.h:178: error: 'scm_t_cond' does not name a type
/usr/local/include/libguile.h:179: error: 'scm_t_key' does not name a type
/usr/local/include/libguile.h:180: error: 'scm_t_mutex' does not name a type
./include/lily-guile-macros.hh: In function 'scm_unused_struct*
scm_or_str2symbol(const char*)':
./include/lily-guile-macros.hh:33: error: 'scm_str2symbol' was not declared in
this scope
./include/lily-guile.hh: In function 'bool ly_is_list(scm_unused_struct*)':
./include/lily-guile.hh:87: error: 'SCM_NFALSEP' was not declared in this scope
./include/lily-guile.hh: In function 'bool ly_is_procedure(scm_unused_struct*)':
./include/lily-guile.hh:89: error: 'SCM_NFALSEP' was not declared in this scope
./include/lily-guile.hh: In function 'bool ly_is_port(scm_unused_struct*)':
./include/lily-guile.hh:90: error: 'SCM_NFALSEP' was not declared in this scope
./include/lily-guile.hh: In function 'bool ly_is_equal(scm_unused_struct*,
scm_unused_struct*)':
./include/lily-guile.hh:100: error: 'SCM_NFALSEP' was not declared in this scope
./include/lily-guile.hh: In function 'bool ly_scm2bool(scm_unused_struct*)':
./include/lily-guile.hh:103: error: 'SCM_NFALSEP' was not declared in this scope
./include/lily-guile.hh: In function 'scm_unused_struct* ly_bool2scm(bool)':
./include/lily-guile.hh:105: error: 'SCM_BOOL' was not declared in this scope
./include/lily-guile.hh: In function 'scm_unused_struct*
ly_append2(scm_unused_struct*, scm_unused_struct*)':
./include/lily-guile.hh:109: error: 'scm_listify' was not declared in this scope
./include/lily-guile.hh: In function 'scm_unused_struct*
ly_append3(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)':
./include/lily-guile.hh:113: error: 'scm_listify' was not declared in this scope
./include/lily-guile.hh: In function 'scm_unused_struct*
ly_append4(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*,
scm_unused_struct*)':
./include/lily-guile.hh:117: error: 'scm_listify' was not declared in this scope
make[1]: *** [out/accidental-engraver.o] Error 1
make[1]: Leaving directory `/home/thorne/src/lilypond/lily'
make: *** [all] Error 2
=========================================
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user