Comments (9)
This is not a problem, just they building the source worng way...
from xiaomi_kernel_opensource.
[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.
Same problem...
I am new in this, can you someon pls explain me, how to compile it right way?
from xiaomi_kernel_opensource.
@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.
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.
@mrafra struct lm3533_platform_data *pdata = NULL;
from xiaomi_kernel_opensource.
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.
@mrafra... Which GCC you are using.... Please use linaro 4.9 or 4.7
from xiaomi_kernel_opensource.
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)
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
- Release Redmi note 9 (Merlin) , Redmi 9 (Lancelot), Poco M2 (Shiva) and Redmi 10 (Selene) S Kernel Source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiaomi_kernel_opensource.