or download this
gcc -o test test.c libintl.a
libintl.a(dcigettext.o):(.text+0x4bf): undefined reference to `__errno
+'
...
libintl.a(l10nflist.o):(.text+0x5e3): undefined reference to `__locale
+_ctype_ptr'
libintl.a(plural-exp.o):(.text+0x5a): more undefined references to `__
+locale_ctype_ptr' follow
collect2.exe: error: ld returned 1 exit status