Hi Vaughan

Unfortunately the error is the same when I compile with this change.

Best regards
Herbert

2017-03-10 4:04 GMT+01:00 Vaughan McAlley <[email protected]>:

> On 10 March 2017 at 02:00, Herbert Liechti <[email protected]>
> wrote:
> >
> >
> > 2017-02-24 13:49 GMT+01:00 Vaughan McAlley <[email protected]>:
> >>
> >> Greetings,
> >>
> >> I’m pleased to announce LilyQuick,
> >
> >
> > Hello
> >
> > I tried to compile LilyQuick on a Ubuntu
> >
> > Distributor ID: Ubuntu
> > Description: Ubuntu 16.04.1 LTS
> > Release: 16.04
> > Codename: xenial
> >
> > When I run make I get the following error:
> >
> >  gcc -ILuaSource -LLuaSource -o lq LilyQuick.c -ldl -lm \
> > -llua -lpthread -lasound
> > /usr/bin/ld: LuaSource/liblua.a(lmathlib.o): undefined reference to
> symbol
> > 'atan2@@GLIBC_2.2.5'
> > /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO aus der
> > Kommandozeile fehlt
> > collect2: error: ld returned 1 exit status
> > Makefile:4: die Regel für Ziel „all“ scheiterte
> > make: *** [all] Fehler 1
> >
> >
> > any suggestions?
> >
> > Best regards
>
> Hi Herbert,
>
> Does it work if you change line 8 in the Makefile to this?
>
>     gcc -ILuaSource -LLuaSource -o lq LilyQuick.c -ldl -Bstatic -lm \
>
> (don't mess with the start of the line: Make requires a proper tab there)
>
> This forces GCC to load the math library (-lm) statically instead of
> dynamically, as it can't find a dynamic maths library. It may work...
>
> Vaughan
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
[email protected],  ThinX AG,  Bielstrasse 69,  CH-4500 Solothurn
Tel +41 (0)32 623 81 66, Mobile +41 (0)76 334 81 66, http://www.thinx.ch
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to