[erlang-questions] Help: compiler error

raocheng rc.china@REDACTED
Sat Sep 29 03:32:32 CEST 2007


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070929/ec5b7a7f/attachment.htm>


More information about the erlang-questions mailing list