How/if to contribute with Compaq W200 wireless usb?

unzari ulist at gs1.ubuntuforums.org
Sun Jun 26 21:24:59 UTC 2005


Hi...  I agree with everybody here... That's a great Wiki.



Except, there seems to be a problem with the current version of the
code obtained via CVS, and I cannot compile it!  :(  Following is what
I get.



root at pal:~/orinoco # make

make -C /usr/src/linux-headers-2.6.10-5-386 M=/root/orinoco modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'

CC [M]  /root/orinoco/hermes.o

CC [M]  /root/orinoco/orinoco.o

CC [M]  /root/orinoco/orinoco_nortel.o

CC [M]  /root/orinoco/orinoco_pci.o

/root/orinoco/orinoco_pci.c:301: error: syntax error before
"pm_message_t"

/root/orinoco/orinoco_pci.c:302: warning: function declaration isn't a
prototype

/root/orinoco/orinoco_pci.c: In function `orinoco_pci_suspend':

/root/orinoco/orinoco_pci.c:303: error: `pdev' undeclared (first use in
this fun ction)

/root/orinoco/orinoco_pci.c:303: error: (Each undeclared identifier is
reported only once

/root/orinoco/orinoco_pci.c:303: error: for each function it appears
in.)

/root/orinoco/orinoco_pci.c:309: error: `state' undeclared (first use
in this fu nction)

/root/orinoco/orinoco_pci.c:330: error: `PCI_D3hot' undeclared (first
use in thi s function)

make[2]: *** [/root/orinoco/orinoco_pci.o] Error 1

make[1]: *** [_module_/root/orinoco] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'

make: *** [modules] Error 2



It seems to have a problem with the following in the module
'orinoco_pci.c', but it's been too long since I've done any coding to
know what's needed.  Anybody have a pointer for me?   ;-)   (No pun
intended.)



static int orinoco_pci_suspend(struct pci_dev *pdev,
*pm_message_t state*)

{

struct net_device *dev = pci_get_drvdata(pdev);

struct orinoco_private *priv = netdev_priv(dev);

unsigned long flags;

int err;


-- 
unzari




More information about the ubuntu-users mailing list