PURPOSE: This randomized phase III trial is studying how well ondansetron works compared to a placebo in treating patients with advanced cancer and chronic nausea and vomiting that is not caused by cancer therapy.