Subject: RE: [Ubuntu-phone] [Development] Ubuntu touch compiling:
missing msm_ion.h
Date: Tue, 7 Apr 2015 14:25:20 -0400
Thanks for taking the time out to reply, Ed.
You've pointed out my mistake. I didn't copy the complete errors and I
missed some lines. The complete errors follow:
hardware/qcom/display/msm8226/libcopybit/copybit_c2d.cpp:34:28:
fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
make: ***
[/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/copybit.msm8226_intermediates/copybit_c2d.o]
Error 1
make: *** Waiting for unfinished jobs....
In file included from
hardware/qcom/display/msm8226/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8226/libgralloc/ionalloc.h:33:27: fatal
error: linux/msm_ion.h: No such file or directory
compilation terminated.
make: ***
[/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o]
Error 1
In file included from
hardware/qcom/display/msm8226/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8226/libgralloc/ionalloc.h:33:27: fatal
error: linux/msm_ion.h: No such file or directory
compilation terminated.
make: ***
[/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o]
Error 1
hardware/qcom/display/msm8226/libqdutils/mdp_version.cpp:30:27:
fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: ***
[/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o]
Error 1
So technically, the compiler isn't picking up on the entire "linux"
folder, including the files "msm_kgsl.h", "msm_ion.h" and "msm_mdp.h".
Is there a way to explicitly include them or to fix my existing code
to include the folder?
Hi Zusman,
Did you do a ./configure before you did the make?
if you use ./configure --help, it might show you how to include
non-standard include directrories.
Or you could edit the complaining sourcecode and add a #include
"/my/own/includes" there.
But i would try the ./configure method first.
Kind regards,
Ed
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp