[erlang-questions] behaviour X undefined

Torben Hoffmann <>
Fri Jun 24 13:58:19 CEST 2011


I think you are missing a path to the beam file for exch when you compile
tourney.

Cheers,
Torben

On Fri, Jun 24, 2011 at 13:53, Joel Reymont <> wrote:

> 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
> ---------------------+------------+---------------------------------------
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
http://www.linkedin.com/in/torbenhoffmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110624/9e40a169/attachment.html>


More information about the erlang-questions mailing list