This is an open label, randomized, multi-center, Phase II study to investigate AXL1717 compared to docetaxel in patients with squamous cell carcinoma (SCC) or adenocarcinoma (AC) of the lung. Patients with previously treated, locally advanced or metastatic SCC or AC subtypes of NSCLC in need of additional treatment will be enrolled in the study. Patients will be randomized to either AXL1717 or to docetaxel group as monotherapy, in a 3:2 ratio for each NSCLC subtype. Patients in AXL1717 group will receive 400 mg AXL1717 twice daily (BID) as oral suspension for 21 days per cycle; i.e. daily for up to four cycles unless a dose interruption, delay, or reduction is required. Docetaxel will be administered as a standard treatment (75 mg/m2 IV infusion over 1 hour) once every three weeks throughout the 4-cycle study. The primary objective of the study is to compare the rate of progression-free survival (PFS) at 12 weeks between patients treated with AXL1717 and patients treated with docetaxel. Additional efficacy and safety parameters will be monitored throughout the study. Patients treated with AXL1717 who are responding to treatment or remain stable at the end of 4 cycles may be offered an extension of treatment with AXL1717.