linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Fechner <idefix@fechner.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Link lib to a kernel module
Date: Wed, 25 Oct 2006 01:35:31 +0200	[thread overview]
Message-ID: <453EA343.2080504@fechner.net> (raw)
In-Reply-To: <453DF507.8050101@innomedia.soft.net>

Hi,

Dipti Ranjan Tarai schrieb:
>   As per my knowledge kernel module can not access to a library
> function. Library function are only accessible to user level program.
> Module can access exported symbol only.

I don't want to build the module against a shared lib. I have here a lib
and I want that the lib is included into the kernel module.
I found in the documentation that it is possible to link the kernel
module with several object files (.o) and I found no source to do it
with libs (.a).

Thx
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

  reply	other threads:[~2006-10-24 23:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 10:55 Link lib to a kernel module Matthias Fechner
2006-10-24 11:12 ` Dipti Ranjan Tarai
2006-10-24 23:35   ` Matthias Fechner [this message]
     [not found]     ` <453EFA4C.9000502@innomedia.soft.net>
2006-10-25 12:30       ` Matthias Fechner
2006-10-24 12:11 ` Oleg Verych
2006-10-25 12:26   ` [kbuild-devel] " Matthias Fechner
2006-10-25 18:24     ` Oleg Verych

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453EA343.2080504@fechner.net \
    --to=idefix@fechner.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).