RATIONALE: Drugs used in chemotherapy, such as gemcitabine, work in different ways to stop the growth of tumor cells, either by killing the cells or by stopping them from dividing. WX-671 may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. Giving gemcitabine together with WX-671 may kill more tumor cells.