General Motors chief executive Rick Wagoner has said that he is hopeful that the automaker will make a profit in 2007 after struggling with weak sales, high costs and stiff competition in 2006.