Make sure the balljoint is still attached to the hub. Use a spanner on the flats, then a spanner on the locknut, turn until you can lock the first spanner against the body of the car, then if needed, interlink another spanner on the spanner already on the locknut. This should crack the locknut free.