On 10 March 2017 at 02:00, Herbert Liechti <herbert.liec...@thinx.ch> wrote:
>
>
> 2017-02-24 13:49 GMT+01:00 Vaughan McAlley <vaug...@mcalley.net.au>:
>>
>> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to