Looks like you have partially compiled project code. Try a "make clean"

If that fails, remove the beam files from the ebin directories.

--Kai

Sent from my iPhone

> On Aug 5, 2015, at 11:24, Mert Öztürk <asksomethin...@gmail.com> wrote:
> 
> Important to mention, i dont get the following error with OTP 18.0;
> 
> ==> bson (compile)
> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl failed:
> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal use of 
> variable 'Name' in map
> ERROR: compile failed while processing /root/ask_prod2/ChicagoBoss/deps/bson: 
> rebar_abort
> make: *** [all] Error 1
> 
> 
> 
> 5 Ağustos 2015 Çarşamba 17:51:44 UTC+3 tarihinde Mert Öztürk yazdı:
>> 
>> Hello,
>> 
>> I upgraded erlang to OTP 18.0 and riak.pb couldnt be compiled so couldnt 
>> complete make.
>> Then i downgraded and tried with 17.0,17.4, 17.5 and 17.5.3 and now i am 
>> having the error;
>> 
>> ==> bson (compile)
>> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl failed:
>> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal use of 
>> variable 'Name' in map
>> ERROR: compile failed while processing 
>> /root/ask_prod2/ChicagoBoss/deps/bson: rebar_abort
>> make: *** [all] Error 1
>> 
>> I am having an urgent trouble with my application and your help will be 
>> appreciated.
>> 
>> Thanks
>> Mert
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to chicagoboss+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/chicagoboss/c0447639-55ad-4c69-baf1-1c9ac16f8a21%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to chicagoboss+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/04CB0B51-E268-432F-BB9D-0C405386AED7%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to