Re: courier-unicode fails to build on Mac OS 10.10.5

Sam Varshavchik <[email protected]> Mon, 21 Dec 2015 20:34:07 -0500
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Christian Ebert writes:

> In file included from unicode.c:8:
> ./courier-unicode.h:44:43: error: unknown type name 'locale_t'
> extern const char *unicode_locale_chset_l(locale_t l);
>                                           ^
> unicode.c:41:36: error: unknown type name 'locale_t'
> const char *unicode_locale_chset_l(locale_t l)
>                                    ^
> unicode.c:43:21: warning: implicit declaration of function 'nl_langinfo_l'  
> is invalid in C99
>       [-Wimplicit-function-declaration]
>         return fix_charset(nl_langinfo_l(CODESET, l));
>                            ^
> 1 warning and 2 errors generated.
> Makefile:748: recipe for target 'unicode.lo' failed
> make[1]: *** [unicode.lo] Error 1
> make[1]: Leaving directory '/Users/chris/src/courier-unicode-1.4'
> Makefile:556: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> $ sw_vers
> ProductName:	Mac OS X
> ProductVersion:	10.10.5
> BuildVersion:	14F1509
> $ uname -mprsv
> Darwin 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015;  
> root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64 i386
>
> Any ideas?

Where do you have locale_t defined? Grep your system include files.

------------------------------------------------------------------------------

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJWeKiPAAoJEGs6Yr4nnb8laZIQAMXSFTxU90wSOElwhEcHWojD
bXAiXvzPiS6lM1QgbJFEsm32rf74QVUBDuxw0UwY0rcldUqP1yabpvR4FyEWPw62
U9datca/rNAdc0SVHZ1J/w9zWw5u0ca/X49w6Jb1RY/JMiZxISgXfPkDpkMOC2MN
ovtbrIKMRsov5/Qcc0tYNNfKtlMLrhGraWvPIx+I0IqbnAeBm0TejV3mj74MB5Mh
bWyFdOdkXY4KYsG3Pi7GMELmXpwlRaCJJunJfRFdawB5DfuHD50rIGRUXTAU444R
YUsfeZJkJwu2GjibOZuWUj3KDb6n/zuuk2KfyjxAV82asAh2tyQi8dFfRnd8XLGE
xpTFOiwWlmZunBYgRe+gARa8ez3p+EqusQgI1CNYgG/o5QPpgV2ROtXc1K4vXukN
2kYzq07x8j+YC8zzOa/msK+3YaI2Tr8d8/pUD1HEhWY7ukdH/xnUTF6Jn8Z/oDFS
DXj4NPFE3JDalMaWDjHWtxPKcF5vk3moTQtqJySoNAHWdpaUmp2U76VHTSE2IZm4
idskUaNHHgw/cHiKVTNMigU4/nZ7TB71PCxfU3paGYGrFieQjN5b9x6fnIuLSQmu
BD5ZNRTXY/iH3IgIZ6/rWL8+9PJTZWwJSIlIr/05rYjgPkI0s0DqEVXQHvN+DzU3
6j5f8AZ/YnpgAO68Ia4w
=lTcR
-----END PGP SIGNATURE-----