PURPOSE: This randomized phase III trial is studying gemcitabine hydrochloride, pemetrexed disodium, and carboplatin to compare how well they work when given together with celecoxib or a placebo in treating patients with advanced non-small cell lung cancer.