Microscopic Calculation of the Temperature Dependence of the Effective Interaction