2

我正在尝试使用Python3.6.2进行静态编译并为 android 进行交叉编译。并nmake在运行时抛出以下异常:

Python\formatter_unicode.c: In function 'get_locale_info':
Python\formatter_unicode.c:711:53: error: 'struct lconv' has no member named 'decimal_point'
                                          locale_data->decimal_point,
                                                     ^
Python\formatter_unicode.c:716:53: error: 'struct lconv' has no member named 'thousands_sep'
                                          locale_data->thousands_sep,
                                                     ^
Python\formatter_unicode.c:720:44: error: 'struct lconv' has no member named 'grouping'
         locale_info->grouping = locale_data->grouping;
                                            ^
Makefile:14273: recipe for target '.obj\formatter_unicode.obj' failed
nmake: *** [.obj\formatter_unicode.obj] Error 1

我用谷歌搜索了很多,但到目前为止几乎没有发现任何实用的东西。尽管我看到了源代码,但我根本不明白发生了什么(我只是对 C/C++ 有所了解)。

谁能给我一些建议?

先感谢您。

4

0 回答 0