public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PCI lib for 2.4
@ 2003-12-12 19:16 Damien Couroussé
  2003-12-15 10:04 ` Martin Mares
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Couroussé @ 2003-12-12 19:16 UTC (permalink / raw)
  To: linux-kernel

Hi all,

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()' ...

I used option  'gcc [...] -lpci' in order to link with pci lib, but 
that's not better. It seems that I have many different versions of the  
pci.h file : /usr/src/linux2.4.18-14/include/linux/pci/h is much bigger 
and much more complete, and more interesting (or it seems to be) than my 
/usr/include/linux/pci.h one, or even /usr/include/driver/pci/pci.h one.

If I do a 'locate pci.a', and then a 'grep pci_resource 
filed-returned-by-locate', I do not have anything. That could mean the 
functions I look for do not exist in my lib.

What do I have to do if I wan't to use the .../src/linux2.4.18... one?

Thanks for any help.

Please tell me if linux-kernel list does not directly concern my problem 
or if there others that fit better.

Damien


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <16348.59126.537876.178991@wombat.chubb.wattle.id.au>]

end of thread, other threads:[~2003-12-15 22:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-12 19:16 PCI lib for 2.4 Damien Couroussé
2003-12-15 10:04 ` Martin Mares
     [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox