[NH2:1][C:2]1[CH:7]=[CH:6][CH:5]=[CH:4][CH:3]=1.O=[C:9]([CH2:16][CH2:17][CH2:18][CH2:19][CH2:20][CH2:21][CH3:22])[CH2:10][C:11]([O:13][CH2:14][CH3:15])=[O:12].C1(C)C=CC(S(O)(=O)=O)=CC=1>C1(C)C=CC=CC=1>[NH:1]([C:9]([CH2:16][CH2:17][CH2:18][CH2:19][CH2:20][CH2:21][CH3:22])=[CH:10][C:11]([O:13][CH2:14][CH3:15])=[O:12])[C:2]1[CH:7]=[CH:6][CH:5]=[CH:4][CH:3]=1A solution of aniline (6 mmol), ethyl 3-oxodecanoate (6 mmol) and toluene-p-sulfonic acid (50 mg) in dry toluene (60 ml) was heated under reflux for 24 hours using Dean-Stark apparatus for the azeotropic removal of water. The solvent was removed in vacuum to afford the title product as an oil which was used without purification in the next step.