... but getting similar undefined reference to in Cairo now even though i have renamed the dlls etc.
What does the EXTRALIBS entry in the generated Makefile specify ?
Also, what does pkg-config --version output ?
UPDATE: That missing symbol is resolved by the static library libfontconfig.a.
But the Cairo build shouldn't need to pull in that library ... so it's a bit weird.
Hopefully the EXTRALIBS spec will make things a bit clearer.