I think you are missing a path to the beam file for exch when you compile tourney.<br><br>Cheers,<br>Torben<br><br><div class="gmail_quote">On Fri, Jun 24, 2011 at 13:53, Joel Reymont <span dir="ltr"><<a href="mailto:joelr1@gmail.com">joelr1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Why is this happening?<br>
<br>
make<br>
==> getopt (compile)<br>
Compiled src/getopt.erl<br>
==> openpoker (compile)<br>
Compiled src/limit.erl<br>
Compiled src/exch.erl<br>
...<br>
src/tourney.erl:22: Warning: behaviour exch undefined<br>
<br>
The top of exch.erl looks like this<br>
<br>
-module(exch, [Cbk, Context, Modules]).<br>
-behaviour(gen_server).<br>
<br>
-export([behaviour_info/1]).<br>
<br>
-export([init/1, handle_call/3, handle_cast/2,<br>
         handle_info/2, terminate/2, code_change/3]).<br>
<br>
And tourney.erl<br>
<br>
-module(tourney).<br>
-behaviour(exch).<br>
<br>
<br>
--------------------------------------------------------------------------<br>
- for hire: mac osx device driver ninja, kernel extensions and usb drivers<br>
---------------------+------------+---------------------------------------<br>
<a href="http://wagerlabs.com" target="_blank">http://wagerlabs.com</a> | @wagerlabs | <a href="http://www.linkedin.com/in/joelreymont" target="_blank">http://www.linkedin.com/in/joelreymont</a><br>
---------------------+------------+---------------------------------------<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/torbenhoffmann">http://www.linkedin.com/in/torbenhoffmann</a><br>