a) Recompiling with the same version version you used originally.
b) Running the old gulden binary, dumping the priv keys of the addresses, trashing the old wallet database then running with the recommended version to create a new wallet database. Then import the keys into the new wallet.
Or just try other wallet.
This is a best way! You can download old old gulden binary same as your wallet.dat file!
or Wallet.dat you store on USB had corrupt
Good luck!