erlang make utility - some help required.

Siri Hansen (EAB) siri@REDACTED
Mon Apr 28 16:44:55 CEST 2003


There seems to be two problems:

1) I think you are running an old version of the tools application in
   which make.erl cannot read an Emakefile with compiler
   options. tools-2.2 includes this fix. Which OTP release are you
   running?

2) The include directory name must be a string and not an atom,
   i.e. your file should look like this:
   {card_info, [{i, "/home2/bv/include"}]}.

/siri



DANIESC SCHUTTE wrote:
> Greetings all, 
> 
> can anyone give me an indication what I am doing wrong in my Emakefile.
> 
> Thanks.
> Daniel
> 
> Emakefile content:
> {card_info, [{i, '/home2/bv/include'}]}.
> 
> 
> Erlang output (with card info in local directory)
> 43> make:all().
> 
> =ERROR REPORT==== 28-Apr-2003::17:22:11 ===
> Error in process <0.157.0> with exit value: {function_clause,[{filename,basename,[{card_info,[{i,'/home2/bv/include'}]}]},{make,recompilep,4},{make,process,4},{erl_eval,expr,3},{erl_eval,exprs,4},{shell,eval_loop,2}]}
> ** exited: {function_clause,[{filename,
>                                  basename,
>                                  [{card_info,[{i,'/home2/bv/include'}]}]},
>                              {make,recompilep,4},
>                              {make,process,4},
>                              {erl_eval,expr,3},
>                              {erl_eval,exprs,4},
>                              {shell,eval_loop,2}]} **
> 
> 
> #####################################################################################
> The information contained in this message and or attachments is intended
> only for the person or entity to which it is addressed and may contain
> confidential and/or privileged material.  Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please contact the sender and
> delete the material from any system and destroy and copies.
> #####################################################################################



More information about the erlang-questions mailing list