Error building Arduino WiShield Flash example: 'dflash' was not declared in this scope
I doubt anything is wrong with the library, but in your initShield and loop methods you refer to a variable called 'dflash' which does not seem to be defined anywhere.