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

erlang @R16B03-1 warnings #2

Open
mingzym opened this issue Apr 10, 2014 · 2 comments
Open

erlang @R16B03-1 warnings #2

mingzym opened this issue Apr 10, 2014 · 2 comments

Comments

@mingzym
Copy link

mingzym commented Apr 10, 2014

用R16的erlang,在Mac下编译,报了好多Warning,还有个错误。

localhost:zfor zym$ make PREFIX=/opt/zfor
==> rel (compile)
==> zfor (compile)
Compiled src/zfor_app.erl
Compiled src/zfor_caretaker.erl
src/zfor_config.erl:138: Warning: crypto:md5_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/zfor_config.erl:140: Warning: crypto:md5_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/zfor_config.erl:153: Warning: crypto:md5_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/zfor_config.erl:240: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
src/zfor_config.erl:295: Warning: crypto:md5_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/zfor_config.erl:297: Warning: crypto:md5_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/zfor_config.erl:312: Warning: crypto:md5_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/zfor_config.erl:360: Warning: crypto:md5_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/zfor_config.erl:364: Warning: crypto:md5_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/zfor_config.erl:378: Warning: crypto:md5_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/zfor_config.erl:461: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
Compiled src/zfor_config.erl
Compiled src/zfor_httpclient.erl
src/zfor_hostlist.erl:80: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
Compiled src/zfor_hostlist.erl
Compiled src/zfor_main.erl
Compiled src/zfor_sup.erl
src/zfor_server.erl:50: Warning: NOT OPTIMIZED: called function handle_req/3 does not begin with a suitable binary matching instruction
src/zfor_server.erl:99: Warning: NOT OPTIMIZED: sub binary used by erlang:binary_to_list/1
Compiled src/zfor_server.erl
Compiled src/zfor_util.erl
==> zfor (dialyze)
ERROR: No PLT found
make: *** [dialyze] Error 1
localhost:zfor zym$ sudo port info erlang
erlang @R16B03-1 (lang, erlang)
Variants:             [+]hipe, nohipe, odbc, [+]ssl, wxwidgets

Description:          Erlang is a programming language designed at the Ericsson Computer Science Laboratory. Open-source Erlang is being released to help encourage the spread of Erlang outside Ericsson. We are releasing free of charge:
                      The entire source code of the current Erlang system. Extensive libraries of code for building robust fault-tolerant distributed applications. All with documentation. All the above software has been battle tested in a
                      number of Ericsson products, for example the new Ericsson ATM switch.
Homepage:             http://www.erlang.org/

Build Dependencies:   gawk, perl5
Library Dependencies: ncurses, openssl
Platforms:            darwin
License:              MPL
Maintainers:          ciserlohn@macports.org
localhost:zfor zym$

用R16的erlang,在Mac下编译,报了好多Warning,还有个错误。

localhost:zfor zym$ make PREFIX=/opt/zfor
==> rel (compile)
==> zfor (compile)
Compiled src/zfor_app.erl
Compiled src/zfor_caretaker.erl
src/zfor_config.erl:138: Warning: crypto:md5_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/zfor_config.erl:140: Warning: crypto:md5_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/zfor_config.erl:153: Warning: crypto:md5_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/zfor_config.erl:240: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
src/zfor_config.erl:295: Warning: crypto:md5_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/zfor_config.erl:297: Warning: crypto:md5_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/zfor_config.erl:312: Warning: crypto:md5_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/zfor_config.erl:360: Warning: crypto:md5_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/zfor_config.erl:364: Warning: crypto:md5_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/zfor_config.erl:378: Warning: crypto:md5_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/zfor_config.erl:461: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
Compiled src/zfor_config.erl
Compiled src/zfor_httpclient.erl
src/zfor_hostlist.erl:80: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
Compiled src/zfor_hostlist.erl
Compiled src/zfor_main.erl
Compiled src/zfor_sup.erl
src/zfor_server.erl:50: Warning: NOT OPTIMIZED: called function handle_req/3 does not begin with a suitable binary matching instruction
src/zfor_server.erl:99: Warning: NOT OPTIMIZED: sub binary used by erlang:binary_to_list/1
Compiled src/zfor_server.erl
Compiled src/zfor_util.erl
==> zfor (dialyze)
ERROR: No PLT found
make: *** [dialyze] Error 1
localhost:zfor zym$ sudo port info erlang
erlang @R16B03-1 (lang, erlang)
Variants:             [+]hipe, nohipe, odbc, [+]ssl, wxwidgets

Description:          Erlang is a programming language designed at the Ericsson Computer Science Laboratory. Open-source Erlang is being released to help encourage the spread of Erlang outside Ericsson. We are releasing free of charge:
                      The entire source code of the current Erlang system. Extensive libraries of code for building robust fault-tolerant distributed applications. All with documentation. All the above software has been battle tested in a
                      number of Ericsson products, for example the new Ericsson ATM switch.
Homepage:             http://www.erlang.org/

Build Dependencies:   gawk, perl5
Library Dependencies: ncurses, openssl
Platforms:            darwin
License:              MPL
Maintainers:          ciserlohn@macports.org
localhost:zfor zym$
@chaoslawful
Copy link
Owner

唉,我 3 年多没动 zfor 了,新版本不行也挺正常……Erlang 真心慢,你有什么地方一定要用 zfor 么?

@mingzym
Copy link
Author

mingzym commented Apr 10, 2014

好不容易让你搞了这么个高级货,我得看看怎么给用起来啊,哈哈哈

  • Yongming Zhao 赵永明

在 2014年4月10日,下午8:21,Wang, Xiaozhe notifications@github.com 写道:

唉,我 3 年多没动 zfor 了,新版本不行也挺正常……Erlang 真心慢,你有什么地方一定要用 zfor 么?


Reply to this email directly or view it on GitHub.

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