Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Help: compiler error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
raocheng  
View profile  
 More options Sep 28 2007, 9:32 pm
From: raocheng <rc.ch...@gmail.com>
Date: Sat, 29 Sep 2007 09:32:32 +0800
Local: Fri, Sep 28 2007 9:32 pm
Subject: [erlang-questions] Help: compiler error

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Claes Wikstrom  
View profile  
 More options Sep 29 2007, 9:05 am
From: Claes Wikstrom <kla...@hyber.org>
Date: Sat, 29 Sep 2007 15:05:47 +0200
Local: Sat, Sep 29 2007 9:05 am
Subject: Re: [erlang-questions] Help: compiler error

raocheng wrote:
> When I compile a erl file, it failed: Please see the following steps:
> ....

> $ erlc hello.erl
> Compiler function compile:compile/3 failed:
> {undef,[{compile,compile,
>                  ["/home/test/hello",

Your erlang installation is completely broken, at least
the one which is behind your erlc in the $PATH

/klacke

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »