site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=exJvPBuvohqgXseLNjwahUVQKxgm+2RLteHiB0YpBGSRX/O4tTQjKiHIa+2MYLhYejMaghWG10Up0InpxLS2z3xeBvJ2FkaZy+JQxP4OTOk40NUd7o+iLHNG4eOEoRmAE0nwZ+DL7Elcnv7V1F4kRsky/d0f5kjbRynteyeKiNU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BO9t/ysJyfS3aJUe0Ytp8RHh+HdgBT7l3hXkJIfLIqt54Gj46n62ezmauFHsPusHlcmVSLnP9k30JzVUmL5re9Xi8YEiekEaQQuQrOwNsIbPurJOSjgdUl4Tmod5Nm0tmV7BoV5mdcyFuVwymGyWmouzBIDEEBLqe4nSOXpjkhU= 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. 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On 7/9/07, billy lau <blau2@uiuc.edu> wrote: This email sent to site_archiver@lists.apple.com