gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: Compiling lilypond 1.5.1 on Mac OS X


From: Jan Nieuwenhuizen
Subject: Re: Compiling lilypond 1.5.1 on Mac OS X
Date: 09 Jul 2001 16:34:07 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7

Christian Hitz <address@hidden> writes:

> Hello I'm trying to compile lilypond 1.5.1 on Mac OS X 10.0.4. I get
> the following error:

It looks like you have a problem with template instantiation.  The
symbol should be defined in:

    16:23:26 appel ~/usr/src/lilypond$ nm lily/out/template5.o | grep 
length.*Interval
    00000000 W length__Ct10Interval_t1Z8Rational

what version of gcc do you use?  What version of binutils (or ld)?
Make sure you use GNU ld.

> make -C ../flower &&  true
> make PACKAGE=LILYPOND package=lilypond -C include all && true
> true
> c++     -o out/midi2ly ./out/duration-convert.o ./out/duration-iter.o
> ./out/duration.o ./out/lilypond-column.o ./out/lilypond-item.o
> ./out/lilypond-score.o ./out/lilypond-staff.o ./out/lilypond-stream.o
> ./out/lilypond-voice.o ./out/main.o ./out/midi-parser.o
> ./out/midi-score-parser.o ./out/midi-track-parser.o
> ./out/midi2ly-version.o ./out/plet.o ./out/version.o
> ./out/../../flower/out/library.a   -L/usr/local/lib -lguile -lm
> /usr/bin/ld: Undefined symbols:
> _length__Ct10Interval_t1Zi
> make[1]: *** [out/midi2ly] Fehler 1
> make: *** [all] Fehler 2

> Has someone an idea how to fix this, or what coud be the cause of it?

Check the info docs for template instantiation, eg,
`-fno-implicit-templates'.  Maybe you can do a web/usenet search for
similar problems with previous versions of (free)bsd and see when/how
they fixed it.

Btw, you may want to compile 1.4.4, as 1.5.x is not generally usable
yet.

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]