Git Product home page Git Product logo

Comments (7)

aaronqiuchiu avatar aaronqiuchiu commented on August 19, 2024

@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.

rancidfrog avatar rancidfrog commented on August 19, 2024

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.

@aaronqiuchiu

  • What magic are you doing for it to compile?
  • Repo has wrong/broken code?

from android_kernel_oneplus_msm8998.

aaronqiuchiu avatar aaronqiuchiu commented on August 19, 2024

@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.

MasterDomino avatar MasterDomino commented on August 19, 2024

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.

pagaiba avatar pagaiba commented on August 19, 2024

@aaronqiuchiu what toolchain, system and defconfig are you using to compile it if I may ask?

from android_kernel_oneplus_msm8998.

mikroskeem avatar mikroskeem commented on August 19, 2024

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.

figforg avatar figforg commented on August 19, 2024

Where did you change <> to "" ?

from android_kernel_oneplus_msm8998.

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.