GithubHelp home page GithubHelp logo

Comments (9)

balika011 avatar balika011 commented on August 15, 2024

This is not a problem, just they building the source worng way...

from xiaomi_kernel_opensource.

Manu4156 avatar Manu4156 commented on August 15, 2024

[email protected]
On Jan 31, 2015 10:25 PM, "balika011" [email protected] wrote:

This is not a problem, just they building the source worng way...


Reply to this email directly or view it on GitHub.

from xiaomi_kernel_opensource.

mrafra avatar mrafra commented on August 15, 2024

Same problem...
I am new in this, can you someon pls explain me, how to compile it right way?

from xiaomi_kernel_opensource.

M1cha avatar M1cha commented on August 15, 2024

@mrafra You're doing nothing wrong. Qualcomm kernels just need these fixes when compiling outside the AOSP tree. just apply them and u're fine.

But these patches don't need to be in the upstream kernel.

from xiaomi_kernel_opensource.

mrafra avatar mrafra commented on August 15, 2024

Ok, fixed, but I have one more error:
drivers/mfd/lm3533-core.c:626:5: warning: 'pdata' may be used uninitialized in this function [-Wuninitialized]
with dior_user_defconfig and NDK/toolchains/arm-linux-androideabi-4.6

from xiaomi_kernel_opensource.

M1cha avatar M1cha commented on August 15, 2024

@mrafra struct lm3533_platform_data *pdata = NULL;

from xiaomi_kernel_opensource.

mrafra avatar mrafra commented on August 15, 2024

Next errors:

In file included from drivers/misc/tspdrv/tspdrv.c:52:
drivers/misc/tspdrv/ImmVibeSPI.c: In function 'ImmVibeSPI_ForceOut_SetSamples':
drivers/misc/tspdrv/ImmVibeSPI.c:433: error: implicit declaration of function 'KBUILD_STR'
drivers/misc/tspdrv/ImmVibeSPI.c:433: error: 'tspdrv' undeclared (first use in this function)
drivers/misc/tspdrv/ImmVibeSPI.c:433: error: (Each undeclared identifier is reported only once
drivers/misc/tspdrv/ImmVibeSPI.c:433: error: for each function it appears in.)

drivers/media/platform/msm/vidc/msm_venc.c: In function 'try_set_ctrl':
drivers/media/platform/msm/vidc/msm_venc.c:1372: error: unknown field 'val' specified in initializer
drivers/media/platform/msm/vidc/msm_venc.c:1446: error: unknown field 'val' specified in initializer

from xiaomi_kernel_opensource.

sheikhrr avatar sheikhrr commented on August 15, 2024

@mrafra... Which GCC you are using.... Please use linaro 4.9 or 4.7

from xiaomi_kernel_opensource.

mrafra avatar mrafra commented on August 15, 2024

Ok, compiled successfully after some changes in code:

drivers/misc/tspdrv/ImmVibeSPI.c:433:5:
pr_info("%s: Only support single sample for ERM\n",func);

drivers/mfd/lm3533-core.c:626:5:
struct lm3533_platform_data *pdata = lm3533->dev->platform_data;

NDK/toolchains/arm-linux-androideabi-4.6 works fine...

from xiaomi_kernel_opensource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.