Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,865 Members 44,827 Now Online
XDA Developers Android and Mobile Development Forum

Compile error with AOSPA 4.4.2: fatal error: linux/msm_mdp.h: No such file..

Tip us?
 
spezi77
Old
#1  
spezi77's Avatar
Recognized Contributor - OP
Thanks Meter 1322
Posts: 505
Join Date: Jan 2013
Location: /home/xda

 
DONATE TO ME
Default Compile error with AOSPA 4.4.2: fatal error: linux/msm_mdp.h: No such file..

Hello there,
I got stuck at building PA for HTC Desire, have tried it several times. I have enough disk space -- I have made a fresh repo sync -- I have also tried with "make -j1". Then switched GCC to armeabi-4.4.3 to 4.7 and to 4.8 -- it always ends up with this error:
Code:
hardware/qcom/display-legacy/liboverlay/overlayUtils.h:38:36: fatal error: linux/msm_mdp.h: No such file or directory
The missing header file is actually present in the kernel tree. I have build with this kernel and the display-legacy a handful of custom roms without any issue.
Kernel: https://github.com/spezi77/android_kernel_htc_qsd8k
Display-legacy: https://github.com/Evervolv/android_...display-legacy

Any tip is welcome!

Thanks!

More lines:
Code:
target thumb C: libloc_api-rpc <= hardware/qcom/gps-legacy/loc_api/libloc_api-rpc/gen-3200/loc_api_rpc_glue.c
target thumb C: libloc_api-rpc <= hardware/qcom/gps-legacy/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c
target thumb C: libloc_api-rpc <= hardware/qcom/gps-legacy/loc_api/libloc_api-rpc/src/loc_api_sync_call.c
Import includes file: /home/spezi77/android/paranoid/out/target/product/bravo/obj/SHARED_LIBRARIES/gralloc.qsd8k_intermediates/import_includes
target arm C++: libGLESv1_CM <= frameworks/native/opengl/libs/GLES_CM/gl.cpp
Import includes file: /home/spezi77/android/paranoid/out/target/product/bravo/obj/SHARED_LIBRARIES/hwcomposer.qsd8k_intermediates/import_includes
target thumb C++: liboverlay <= hardware/qcom/display-legacy/liboverlay/overlay.cpp
In file included from hardware/qcom/display-legacy/liboverlay/overlay.cpp:30:0:
hardware/qcom/display-legacy/liboverlay/overlayUtils.h:38:36: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [/home/spezi77/android/paranoid/out/target/product/bravo/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlay.o] Error 1
make: *** Waiting for unfinished jobs....

Total time elapsed: 17 minutes (1078.277761994 seconds)
spezi77@Utopia:~/android/paranoid$
Device: NEXUS 4 - Google Kitkat 4.4.4
Retired: HTC Desire - AOSB Kitkat 4.4.4


My work for HTC Desire:



[4.4.4] AOSB Kitkat :||: [4.4.2] Liquid Kitkat :||: [4.4.4] OmniROM :||: [4.4.2] PAC-man ROM :||: [4.4.3] CarbonROM :||: [4.4.4] CM-11 KitKANG :||: [4.1.2] s'MiUi v5 3.11.29 :||: [4.1.2] Xperia Z

If you like my work and want to encourage me, please and rate this thread with 5 stars.


 
plegdroid
Old
#2  
plegdroid's Avatar
Recognized Contributor
Thanks Meter 10840
Posts: 3,442
Join Date: Sep 2011
Location: manchester
Quote:
Originally Posted by spezi77 View Post
Hello there,
I got stuck at building PA for HTC Desire, have tried it several times. I have enough disk space -- I have made a fresh repo sync -- I have also tried with "make -j1". Then switched GCC to armeabi-4.4.3 to 4.7 and to 4.8 -- it always ends up with this error:
Code:
hardware/qcom/display-legacy/liboverlay/overlayUtils.h:38:36: fatal error: linux/msm_mdp.h: No such file or directory
The missing header file is actually present in the kernel tree. I have build with this kernel and the display-legacy a handful of custom roms without any issue.
Kernel: https://github.com/spezi77/android_kernel_htc_qsd8k
Display-legacy: https://github.com/Evervolv/android_...display-legacy

Any tip is welcome!

Thanks!

More lines:
Code:
target thumb C: libloc_api-rpc <= hardware/qcom/gps-legacy/loc_api/libloc_api-rpc/gen-3200/loc_api_rpc_glue.c
target thumb C: libloc_api-rpc <= hardware/qcom/gps-legacy/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c
target thumb C: libloc_api-rpc <= hardware/qcom/gps-legacy/loc_api/libloc_api-rpc/src/loc_api_sync_call.c
Import includes file: /home/spezi77/android/paranoid/out/target/product/bravo/obj/SHARED_LIBRARIES/gralloc.qsd8k_intermediates/import_includes
target arm C++: libGLESv1_CM <= frameworks/native/opengl/libs/GLES_CM/gl.cpp
Import includes file: /home/spezi77/android/paranoid/out/target/product/bravo/obj/SHARED_LIBRARIES/hwcomposer.qsd8k_intermediates/import_includes
target thumb C++: liboverlay <= hardware/qcom/display-legacy/liboverlay/overlay.cpp
In file included from hardware/qcom/display-legacy/liboverlay/overlay.cpp:30:0:
hardware/qcom/display-legacy/liboverlay/overlayUtils.h:38:36: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [/home/spezi77/android/paranoid/out/target/product/bravo/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlay.o] Error 1
make: *** Waiting for unfinished jobs....

Total time elapsed: 17 minutes (1078.277761994 seconds)
spezi77@Utopia:~/android/paranoid$
Afternoon Matey.

You may get a better response here
http://forum.xda-developers.com/show....php?t=1863547

ⓐⓝⓓⓡⓞⓒⓛⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
The Following User Says Thank You to plegdroid For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes