Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC系统下make时出现三个error #28

Open
burui11087 opened this issue Mar 31, 2015 · 1 comment
Open

MAC系统下make时出现三个error #28

burui11087 opened this issue Mar 31, 2015 · 1 comment

Comments

@burui11087
Copy link

make[3]: Nothing to be done for all'. Making all in core make[3]: Nothing to be done forall'.
CXX pcmanx_gtk2.o
pcmanx_gtk2.cpp:88:2: error: use of undeclared identifier 'bindtextdomain'
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
^
pcmanx_gtk2.cpp:89:2: error: use of undeclared identifier
'bind_textdomain_codeset'
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
^
pcmanx_gtk2.cpp:90:2: error: use of undeclared identifier 'textdomain'
textdomain(GETTEXT_PACKAGE);
^
3 errors generated.
make[3]: *** [pcmanx_gtk2.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

pcmanx_gtk2.cpp的那几行代码出错

@cychiang
Copy link
Contributor

cychiang commented Apr 3, 2015

Hi, this problem cause by macro function in pcman_gtk2.cpp file on line 22.
Change "#if defined(HAVE_GETTEXT)" into "#if 1" can solve this problem.
The reason is steal looking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants