The kernel extension I am writing needs to include a framework (DirectIO), so I added the framework in the "Linked Libraries" section of the target properties. I then included it in the main source file.
The problem is, whenever I try to build it, it gives this error:
/Developer/usr/bin/ld_classic: incompatible flag -framework used (must specify "-dynamic" to be used)
I'm using XCode 3.2 on Snow Leopard, building for OSX i386. Is it possible to include a .framework in a .kext target?