Compiling kext for Intel82566mm under Lion 10.7.2 64-bit

I was recently playing with Intel 82566MM device driver for Mac OS X based on the e1000e open source project and noticed that the driver is really targeted for 10.6 and is unable to compile easily under Lion 10.7.2.

I decided to play a little bit and compile it for Lion 10.7.2 x64 bit. Here it is: modified package which compiles under Lion 10.7.2 x64 with already pre-compiled kext file.

Things mostly changed in Makefile:

1) Added “-arch x86_64 -isysroot ${SYSROOT} -mmacosx-version-min=10.7 -Xlinker -kext”

2) Set proper SDK path and paths for gcc & g++

3) Modified some warnings in Intel82566MM.cpp which end up like errors during build in 10.7.2


Leave a Reply

Your email address will not be published. Required fields are marked *