The present invention relates to a compound represented by general formula (I) (wherein, all symbols represent the same meanings as the symbols set forth in the specification), a salt thereof, a solvate thereof, an N-oxide thereof, or a prodrug of any of these. Since the compound has a Brk inhibitory activity, the compound is useful as a drug ingredient for the prevention and/or treatment of Brk-related diseases such as cancer, for example.