lkml.org 
[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectPCI lib for 2.4
From
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.993 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site