|
From: printf c. <pi...@ho...> - 2000-09-28 23:41:10
|
#include <linux/pci.h>
void init_dev(int x, int y)
{if(pci_present()){//do some stuff=20
return;};
return;};
int u,v;
int main()
{int_dev(u, v);
pci_find_device(arguments );
return 0;
};
//////////////////////////////////compiler =
//////////////////////////////////////
undefined reference to "pci_present"
/////////////////////////////////////////////////////////////////////////=
////////////
=20
why?
say i link to pci.a
doesn't seem to make any difference=20
help
|