All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Mares <mj@ucw.cz>
To: "Damien Couroussé" <damien.courousse@imag.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PCI lib for 2.4
Date: Mon, 15 Dec 2003 11:04:25 +0100	[thread overview]
Message-ID: <20031215100425.GA551@ucw.cz> (raw)
In-Reply-To: <A2ABB06A-2CD7-11D8-8839-00039344321E@imag.fr>

Hi!

> I'm a rookie in Linux development, and I have to develop a small driver 
> for a data-acquisition card on PCI port.
> 
> My problem is that my compiler does not recognize some functions such as 
> 'pci_resource_start()', or 'pci_find_device()' ...

Is your driver a kernel module or a userspace program?

If it's a kernel module, you need to set the right CFLAGS (the same as the
kernel uses).

				Have a nice fortnight
-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
COBOL -- Completely Outdated, Badly Overused Language

  reply	other threads:[~2003-12-15 10:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-12 19:16 PCI lib for 2.4 Damien Couroussé
2003-12-15 10:04 ` Martin Mares [this message]
     [not found] <16348.59126.537876.178991@wombat.chubb.wattle.id.au>
2003-12-15 10:56 ` Damien Couroussé
2003-12-15 22:14   ` Peter Chubb

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=20031215100425.GA551@ucw.cz \
    --to=mj@ucw.cz \
    --cc=damien.courousse@imag.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.