Based on the data obtained, it can be inferred that the novel compounds, as well as their key intermediate, compound 5, demonstrated potent anticancer activity against lung carcinoma by inhibiting EGFR. This evidence concerns the gene EGFR and lung carcinoma.