I am trying to establish a connection with the Kernel base, as a third-party library uses the functions from the I / O Kit library ( http://developer.apple.com/mac/library/documentation/Darwin/Reference/KernelIOKitFramework/index.html ).
I'm new to MacX development, I'm on Snow Leopard and compile with the -m32 flag.
g++-4.2 -headerpad_max_install_names -m32 -F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ -F/System/Library/Frameworks/ -o myApp debug/main.o -F/Library/Frameworks -L/Library/Frameworks -framework OpenCL -framework CoreAudio -framework Kernel -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -framework ApplicationServices
I get the following error:
ld: framework not found Kernel
I am sure that the kernel structure is in / System / Library / Frameworks (as CoreAudio). But the linker cannot find the kernel structure. Is it impossible to associate with the core framework?
Any ideas?
Thanks Paul
Paul source
share