Comments (7)
@rancidfrog please help check your local source code again, i check github code again all your build error logs show file included.
https://github.com/OnePlusOSS/android_kernel_oneplus_msm8998/blob/oneplus/QC8998_N_7.1/drivers/bluetooth/btfm_slim.h
https://github.com/OnePlusOSS/android_kernel_oneplus_msm8998/blob/oneplus/QC8998_N_7.1/drivers/bluetooth/btfm_slim_wcn3990.h
https://github.com/OnePlusOSS/android_kernel_oneplus_msm8998/blob/oneplus/QC8998_N_7.1/sound/soc/msm/device_event.h
Thanks
from android_kernel_oneplus_msm8998.
Yes, I know.
I think it should be:
#include "btfm_slim.h"
Instead of,
#include <btfm_slim.h>
Currently, it does not compile with <>, changing to "", continues compilation but more errors.
Somebody got it to compile but a lot of fixes: adindotdev/oneplus5-kernel@ec4ec68
Current Source code not compiling for me.
You can try to compile, it gives errors like first post.
- What magic are you doing for it to compile?
- Repo has wrong/broken code?
from android_kernel_oneplus_msm8998.
@rancidfrog i have try it and compile success, i have no idea about this compile fail. relate config of build server ?
make[1]: Entering directory '/home/qiuchangping/workplus/16859-MR1-devicetree/MSM8998/android/out/target/product/msm8998/obj/kernel/msm-4.4'
INSTALL block/test-iosched.ko
INSTALL drivers/char/rdbg.ko
INSTALL drivers/media/platform/msm/broadcast/tspp.ko
INSTALL drivers/media/platform/msm/dvb/adapter/mpq-adapter.ko
INSTALL drivers/net/wireless/ath/wil6210/wil6210.ko
INSTALL drivers/media/platform/msm/dvb/demux/mpq-dmx-hw-plugin.ko
INSTALL drivers/scsi/ufs/ufs_test.ko
INSTALL net/bridge/br_netfilter.ko
DEPMOD 4.4.21+
make[1]: Leaving directory '/home/qiuchangping/workplus/16859-MR1-devicetree/MSM8998/android/out/target/product/msm8998/obj/kernel/msm-4.4'
make: Leaving directory '/home/qiuchangping/workplus/16859-MR1-devicetree/MSM8998/android/kernel/msm-4.4'
[100% 5/5] Target boot image: out/target/product/msm8998/boot.img
out/target/product/msm8998/boot.img maxsize=68395008 blocksize=135168 total=19506472 reserve=811008
make completed successfully (05:07 (mm:ss))
from android_kernel_oneplus_msm8998.
same issue here cannot compile with same errors on
#include <device_event.h>
^
compilation terminated.
scripts/Makefile.build:258: recipe for target 'sound/soc/msm/msm8998.o' failed
make[3]: *** [sound/soc/msm/msm8998.o] Error 1
scripts/Makefile.build:403: recipe for target 'sound/soc/msm' failed
make[2]: *** [sound/soc/msm] Error 2
scripts/Makefile.build:403: recipe for target 'sound/soc' failed
make[1]: *** [sound/soc] Error 2
Makefile:960: recipe for target 'sound' failed
make: *** [sound] Error 2
and same with btfm like @rancidfrog also using aarch64-linux-android-4.9-uber toolchains i dont really know whats the cause.
log.txt
from android_kernel_oneplus_msm8998.
@aaronqiuchiu what toolchain, system and defconfig are you using to compile it if I may ask?
from android_kernel_oneplus_msm8998.
FYI you need to build CAF and related kernels with make O=outdir
, otherwise you're going to end up with weird errors like these.
from android_kernel_oneplus_msm8998.
Where did you change <> to "" ?
from android_kernel_oneplus_msm8998.
Related Issues (20)
- Please release Mi6(sagit) kernel source HOT 1
- Unable to build Kernel (no rule for vmlinux) HOT 13
- Respect the GNU GPLv2!! HOT 4
- OnePlus 5 access to rear cameras - android api
- dash充电电流疑问? HOT 4
- SDCardFS OnePlus Changes
- Removal of 4.5.11 commit? HOT 3
- Compiling OP5 stock kernel successfully / unable to flash it HOT 1
- project treble HOT 3
- Dots pattern on IMX398 (OP5 + OP5T) in HAL3 RAW HOT 1
- Sorry, delete me!
- Sourcecode is not updated HOT 1
- Compile fatal error
- Android 10 Kernel HOT 5
- Source code not updated HOT 19
- Wifi doesn't work after flush kernel
- Trying to recompile kernel in order to enable rfcomm support
- cannot recompile kernel
- RFCOMM support for bluetooth devices
- Can't find trace/events/system.h
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 android_kernel_oneplus_msm8998.