2016-06-14 9 views
1

Ich konnte das prepare.py Skript im Hauptverzeichnis ohne Fehler erfolgreich ausführen.

Allerdings, wenn ich den $ make Befehl ausführen, bekomme ich den Fehler unten.

Kann mich jemand vor dieser Qual retten?

[ 33%] Building C object src/CMakeFiles/msamr.dir/amrnb.c.o /home/pnwoke/linphone-android/submodules/msamr/src/amrnb.c:31:10: fatal error: 'amrnb/interf_dec.h' file not found #include ^ 1 error generated. src/CMakeFiles/msamr.dir/build.make:77: recipe for target 'src/CMakeFiles/msamr.dir/amrnb.c.o' failed make[6]: *** [src/CMakeFiles/msamr.dir/amrnb.c.o] Error 1 make[6]: Leaving directory '/home/pnwoke/linphone-android/WORK/android-arm/Build/msamr' CMakeFiles/Makefile2:75: recipe for target 'src/CMakeFiles/msamr.dir/all' failed make[5]: *** [src/CMakeFiles/msamr.dir/all] Error 2 make[5]: Leaving directory '/home/pnwoke/linphone-android/WORK/android-arm/Build/msamr' Makefile:117: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/home/pnwoke/linphone-android/WORK/android-arm/Build/msamr' CMakeFiles/EP_msamr.dir/build.make:111: recipe for target '/home/pnwoke/linphone-android/WORK/android-arm/Stamp/EP_msamr/EP_msamr-build' failed make[3]: *** [/home/pnwoke/linphone-android/WORK/android-arm/Stamp/EP_msamr/EP_msamr-build] Error 2 make[3]: Leaving directory '/home/pnwoke/linphone-android/WORK/android-arm/cmake' CMakeFiles/Makefile2:571: recipe for target 'CMakeFiles/EP_msamr.dir/all' failed make[2]: *** [CMakeFiles/EP_msamr.dir/all] Error 2 make[2]: Leaving directory '/home/pnwoke/linphone-android/WORK/android-arm/cmake' Makefile:76: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/pnwoke/linphone-android/WORK/android-arm/cmake' Makefile:148: recipe for target 'arm-build' failed make: *** [arm-build] Error 2
+0

Ausgabe von VERBOSE klagt = ja, Wo ist der Kopf Datei, nach der der Compiler gesucht hat? – arved

+0

Haben Sie opencore-amr installiert? Erzählt uns auch ein wenig über die Umgebung – khrm

+0

Ich bin ziemlich neu in Linphone, daher bin ich nicht vertraut mit der Header-Datei ... Ich habe nur die Schritte [hier] (http://www.coders-hub.com/2015 /04/start-working-on-linphone-android-part-1.html) –

Antwort

0

Offenbar trat der Fehler, weil mein Linker nicht die Header-Datei interf_dec.h

So bearbeitet Kommissionierung wurde ich diese Datei /home/pnwoke/linphone-android/Submodule/msamr/src /amrnb.c--->line:31:10 durch das absolute Verzeichnis der Header-Datei setzen (zB: /home/pnwoke/linphone-android/submodules/msamr/src/interf_dec.h)

enter image description here

enter image description here

Wenn Sie also die Header-Datei in diesem Verzeichnis nicht sehen, keine Panik. Lol. Suchen Sie einfach den gesamten linphone Ordner und kopieren von wo auch immer es ist, in das Verzeichnis von amrnb.c

das gleiche zu jedem Fehler Sie die Header-Datei von fehlenden

Verwandte Themen