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