Messages in this thread | | | Date | Mon, 15 Dec 2003 11:04:25 +0100 | From | Martin Mares <> | Subject | Re: PCI lib for 2.4 |
| |
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 - 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/
| |