The reasons people have for voting a question up or down are many. Ideally someone voting will be voting based on objective reasoning, but I'm sure that people vote on questions from purely subjective and emotional standpoints as well. In particular, it's hard to be objective on a topic one knows little about (and one should maybe consider avoiding voting on such questions entirely because of this).
It may be that they think the question is well posed, complete and accurately describes all components in such a way that it makes it easy to answer for someone who knows a bit about the topic, or that they are intellectually intrigued by the question, or that they found the answer they were looking for while having a similar issue themselves, or that they learnt something from the question together with its answers, or simply that they understand it and are able to see a solution by themselves (and therefore up-votes it).
If the question is contrived, poorly written or lacking in information, shows that little or no effort went into researching the topic, or if someone decides that it's of very little use to anyone other than the person posting the question, some may choose to vote it down.
If the question is too specific to a particular setup or situation, or if it is far too technical for people to understand, it may be left without votes or voted down by people that are simply confused by it, or up-voted by those few that actually grasp the issue and who thinks it's worth up-voting (or down-voted because they understand that it's such a narrow use-case that it's unlikely to be of interest to anyone).
The Help Center says
Voting up a question or answer signals to the rest of the community that a post is interesting, well-researched, and useful, while voting down a post signals the opposite: that the post contains wrong information, is poorly researched, or fails to communicate information.
What's interesting and useful to the person asking may not be of general interest or use, and what's of general interest and use may definitely be debated (but probably never decided in any useful way).
In the case of these two questions in particular, it may be that the up-voted one was simply more useful to those seeing it, or just easier to understand and solve, while the second one may have been too narrow or harder to understand (it may have been, in your own words, a too "exotic" issue).
Having said that, the answers to the second question received multiple up-votes, which shows that the people reading them thought that they were good answers. A down-voted question with a few really good answers is still interesting and worth while reading (personal opinion). Unfortunately, it doesn't affect the score of the question itself.
Another contributing factor for the up-votes on the first question may be the relatively large number of views (1100+). This may be due to a well-composed title, a good choice of tags. It may also have been promoted on Twitter and/or made it into the "Hot Network Questions" list. More views equals more votes on both the question and the answers, and generally, a good question/answer receives more views, so it's a self feeding loop in a sense.
The second question has less than 100 views, and that may be because Makefiles simply isn't a "hot" or "interesting" topic. It may be more "fun" to read and answer a question about
find and globbing patterns (topics that any shell user may relate to) than about Makefiles (a topic that mostly developers relate to).