← Back to team overview

ubuntu-phone team mailing list archive

Re: [Development] Ubuntu touch compiling: missing msm_ion.h

 


From: cornbeefonrye@xxxxxxxxxxx
To: ed@xxxxxxxxxxxx
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 directorycompilation terminated.make: *** [/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/copybit.msm8226_intermediates/copybit_c2d.o] Error 1make: *** 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 directorycompilation terminated.make: *** [/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1In 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 directorycompilation terminated.make: *** [/home/zusman/android-ext/phablet/out/target/product/x5/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1hardware/qcom/display/msm8226/libqdutils/mdp_version.cpp:30:27: fatal error: linux/msm_mdp.h: No such file or directorycompilation 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?
Date: Tue, 7 Apr 2015 08:44:07 +0200
From: ed@xxxxxxxxxxxx
To: cornbeefonrye@xxxxxxxxxxx; ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Ubuntu-phone] [Development] Ubuntu touch compiling: missing msm_ion.h


  
    
  
  
    On 04/06/15 17:04, Zusman Samuel wrote:

    
    
      
      
        Hey All,
        

        
        I've started porting Ubuntu Touch to the LG Volt (LS740)
          from Boost Mobile. I have my device tree vendor blobs and
          kernel sources all in place, but I'm getting a compile error:
        

        
            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.
        

        
        I have an "include" folder in my device tree. It contains
          the "linux" folder which includes the "msm_mdp.h" file, but
          it's not getting included by the compiler.
        

      
    
    

    fatal error: linux/msm_ion.h and you do have msm_mdp.h. 

    But do you also have msm_ion.h?

    

    Kind regards,

    Ed
 		 	   		   		 	   		  

Follow ups

References