Compile error:undefined reference to symbol '_ZNK13QScriptEn


I try to compile APM Planner on Ubuntu 13.10
After adding “-lasound” to -> line 137 = LIBS
to correct the compile error: “/usr/bin/ld: build-debug/obj/AlsaAudio.o: undefined reference to symbol ‘snd_pcm_hw_params_any@@ALSA_0.9’”

the compiler now ends with a new error:
/usr/bin/ld: build-release/obj/AutoUpdateCheck.o: undefined reference to symbol ‘_ZNK13QScriptEngine26uncaughtExceptionBacktraceEv’
/usr/lib/x86_64-linux-gnu/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [release/apmplanner2] Error 1

I think I have to link/install another library, but don’t know which one…
Has anyone a hint?

You are missing QtScript library. Check out the latest from github as some fixes have been applied recently for linux builds

Thanks! Problem is solved. Compiles without an error on Ubuntu 13.10