[erlang-questions] behaviour X undefined
Joel Reymont
joelr1@REDACTED
Fri Jun 24 13:53:42 CEST 2011
Why is this happening?
make
==> getopt (compile)
Compiled src/getopt.erl
==> openpoker (compile)
Compiled src/limit.erl
Compiled src/exch.erl
...
src/tourney.erl:22: Warning: behaviour exch undefined
The top of exch.erl looks like this
-module(exch, [Cbk, Context, Modules]).
-behaviour(gen_server).
-export([behaviour_info/1]).
-export([init/1, handle_call/3, handle_cast/2,
handle_info/2, terminate/2, code_change/3]).
And tourney.erl
-module(tourney).
-behaviour(exch).
--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
More information about the erlang-questions
mailing list