I’m having trouble getting my pci wifi card to work. The pcicard is linksys wmp300n.
Is this Lenny or Squeeze? Anyway, you’re overcomplicating things. Ndiswrapper is in the Debian repos, no need to compile; the same goes for the Broadcom sta driver. You just install the related packages and, IIRC, they will bring in the required Broadcom scripts/blobs. For further instructions, consult the appended link (which basically says: follow the related Debian Wiki).