build error midp for arm-linux