Look at the README and find out what tools you're supposed to be building with and make sure they're the ones you're using. Wrong C compiler or something?