Re: problem linking an "object" in kernel build
Re: problem linking an "object" in kernel build
- Subject: Re: problem linking an "object" in kernel build
- From: email@hidden
- Date: Mon, 9 Jul 2007 18:03:18 -0500
Ok. Apparently when I recompile and relink my project's library as .a
archives and link that to the kernel instead of .o, it works.
On 7/9/07, billy lau <email@hidden> wrote:
Okay, I guess I have forgotten to clarify that I am not building a KEXT, but
rather doing some modification in the kernel by inserting some functions
itself, just that I am trying to link a library that is not part of the
darwin build itself.
And also I have the source codes that build the library. And this source
code is not part of darwin build. It's sth like this:
*****
in the kernel:
A() {
....;
....;
B(); /* the function i insert */
...;
}
****
B() is part of a separate project that requires blibrary.o to work, and
therefore, I need to somehow link blibrary.o in the kernel. Hopefully this
is clearer then. Any thoughts about this?
thanks
- billy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden