A process for the preparation of the compounds of general formula (I); by reacting a quinoline-3-carboxylic acid ester derivative of formula A with an aniline derivative of formula B in a solvent selected from straight- or branch-chaineded alkanes and cycloalkanes or mixtures thereof with a boiling point between 80 and 200 C.