Re: Problem with project builder to build kernel extension
Re: Problem with project builder to build kernel extension
- Subject: Re: Problem with project builder to build kernel extension
- From: email@hidden
- Date: Tue, 21 Oct 2003 22:21:02 +0300
Manged to reply to the sender only, and not to the list, so in case anyone
else is interested, here it is:
Quoting Calvin Hou <email@hidden>:
>
I created a very simple IOKit Driver. After I added framework
>
"Kernel.framework", compile it, it always reports:
>
"incompatible flag -framework used (must specify "-dynamic" to be used)"
>
>
Then I put "-dynamic" into linker flags, but doesn't work.
There is no need to put "-dynamic" in.
Do this:
In the project window, "under" the files-tab, there is a little "target"
icon at the left.
It is checked for your source-files and frameworks.
Uncheck it for the Kernel framework.
Keeping the Kernel framework in your project is only needed if you want to
be able to access its header-files quickly or search them using batch find.
//Ivan
_____________________________________________________________________
Inbox Chat: New Rooms & Java Chat now available!
http://chat.inbox.lv
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.