The source code are located in /e/dev/freemint-freemint-1_17_0 which is a hostfs partition.Hostfs does various strange problems while compiling (symlinks troubles). Try host partition first (formatted as ext2 of course).
The source code are located in /e/dev/freemint-freemint-1_17_0 which is a hostfs partition.