<div>When I compile a erl file, it failed: Please see the following steps:</div>
<div>$uname -a</div>
<div>SunOS tesst01 5.9 Generic_327231-29 sun4u sparc SUNW,Sun-Fire-V440 Solaris</div>
<div> </div>
<div>$ pwd<br>/home/test</div>
<p>$ more hello.erl<br>-module(hello).<br>-export([start/0]).</p>
<p>start() -><br> io:format("Hello world~n").</p>
<p>$ ls -lrtF hello.erl<br>-rwxrwxrwx 1 crao msc 80 Sep 29 09:09 hello.erl*</p>
<div>$ erl<br>Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe] [kernel-poll:false]</div>
<div><br>$ erlc hello.erl<br>Compiler function compile:compile/3 failed:<br>{undef,[{compile,compile,<br> ["/home/test/hello",<br> "/home/test/hello",<br> {options,[],
<br> "/home/test",<br> undefined,<br> [],<br> 1,<br> false,<br> 999,
<br> [],<br> [],<br> "/home/test"}]},<br> {erl_compile,compile_file,4},<br> {erl_compile,compile3,3},<br> {erl_compile,compiler_runner,1}]}
<br>$ </div>
<div> </div>
<div>Thanks for any help.</div>