Giter Club home page Giter Club logo

Comments (2)

Detrous avatar Detrous commented on June 27, 2024

@Weddin maybe you can help ?

from intelwifi.

RTHPJM avatar RTHPJM commented on June 27, 2024

I'm trying to compile on macOS Catalina 10.15.2 with Xcode 11.3.
With two minor changes to the code, and updated OSBundleLibraries (Target Settings > Info panel (aka the Info.plist), I can get the kext to compile. However, it will not load due to missing symbols

# kextlibs -undef-symbols IntelWifi.kext
For all architectures:
com.apple.iokit.IO80211Family = 1200.12.2b1
com.apple.iokit.IO80211FamilyV2 = 1200.12.2b1
com.apple.iokit.IONetworkingFamily = 3.4
com.apple.iokit.IOPCIFamily = 2.9
com.apple.kpi.bsd = 19.2
com.apple.kpi.iokit = 19.2
com.apple.kpi.libkern = 19.2
com.apple.kpi.mach = 19.2

For x86_64:
4 symbols not found in any library kext:
__ZN19IONetworkController29_RESERVEDIONetworkController5Ev
__ZN19IONetworkController29_RESERVEDIONetworkController4Ev
__ZN19IONetworkController29_RESERVEDIONetworkController3Ev
__ZN19IONetworkController29_RESERVEDIONetworkController2Ev
Multiple symbols found among 1 libraries:
com.apple.iokit.IO80211FamilyV2

Cleaning it up with c++filt shows
# echo __ZN19IONetworkController29_RESERVEDIONetworkController5Ev | c++filt
IONetworkController::_RESERVEDIONetworkController5()

I've tried installing the 10.12 SDK, and setting the SDK Root and Development target to 10.12 appropriately. Whilst it will compile the kext won't load either when linking to the kernel (which I why I amended to use 10.15...)

I cannot figure out what's missing so that the missing symbols will resolve

Let me know if I can help further....

P.S.

Other functions resolve successfully into /System/Library/Extensions/IONetworkingFamily.kext (3.4)

e.g.
# nm /System/Library/Extensions/IONetworkingFamily.kext/Contents/MacOS/IONetworkingFamily | grep _ZN19IONetworkController29
00000000000080ce T __ZN19IONetworkController29_RESERVEDIONetworkController6Ev
00000000000080e4 T __ZN19IONetworkController29_RESERVEDIONetworkController7Ev
00000000000080fa T __ZN19IONetworkController29_RESERVEDIONetworkController8Ev
0000000000008110 T __ZN19IONetworkController29_RESERVEDIONetworkController9Ev

from intelwifi.

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.