PURPOSE: Phase I trial to study the effectiveness of combining erlotinib with gemcitabine in treating patients who have newly diagnosed locally advanced or metastatic pancreatic cancer or other solid tumors.