Never mind, I think it's "caused" by the use of the CFLAGS -pedantic. Taking the CFLAGS away gets the compile past that. Now another error crops up. Not a programmer ...