RATIONALE: Erlotinib hydrochloride and celecoxib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. Celecoxib may also stop the growth of lung cancer by blocking blood flow to the tumor. Giving erlotinib hydrochloride together with celecoxib may kill more tumor cells.