Retirement tax questions

I am using Home and Business CD.   Turbox calculated SE tax for me and put on line 57 (~$1,100 out of $7,900 1099-MISC income).  I have tried to make contribution to either traditional IRA or Roth, but each time, the followimg message comes back:
"Your traditional IRA contribution of $5,500 is more than your earned income of 0."
Similar message was returned when I tried to make contribution to Roth IRA.