[erlang-questions] behaviour X undefined

Joel Reymont joelr1@REDACTED
Fri Jun 24 15:11:57 CEST 2011


On Jun 24, 2011, at 12:58 PM, Torben Hoffmann wrote:

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

Trying by hand...

erlc -I ../include -pa ../ebin tourney.erl 
./tourney.erl:22: Warning: behaviour exch undefined

ls ../ebin/exch.beam 
../ebin/exch.beam

erlc -I ../include -I ../ebin -pa ../ebin tourney.erl 
./tourney.erl:22: Warning: behaviour exch undefined

Still doesn't work. Why?

--------------------------------------------------------------------------
- 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