TonyGen / mongodb-erlang

Fork of MongoDB driver for Erlang. mongodb now holds the master repository for this driver.
65 stars 16 forks source link

Does not compile #23

Open limenleap opened 5 years ago

limenleap commented 5 years ago

When I try to follow the instructions as given in README.md it gives the following errors

erlc -o ebin -I include -I .. src/*.erl

src/mongo.erl:333: syntax error before: '.'
src/mongo.erl:32: function add_user/3 undefined
src/mongo.erl:330: spec for undefined function add_user/3
src/mongo.erl:319: Warning: call to crypto:md5/1 will fail, since it was removed in 20.0; use crypto:hash/2
src/mongo.erl:322: Warning: call to crypto:md5/1 will fail, since it was removed in 20.0; use crypto:hash/2