|
|
| Author |
Message |
|
| bhyde at pobox.com |
Posted: Wed Dec 16, 1998 2:38 am |
|
|
|
Guest
|
I bet I'm going to be sorry about this.
$ cd /home/bhyde/incomming/erlang-47.4.0/libraries/
$ for D in *-* ; do (cd $D; gmake CC_ROOT=/home/bhyde/incomming/erlang-47.4.0/) done
...
erlc -W -bjam -o../ebin appmon_dg.erl
erlc -W -bjam -o../ebin appmon_info.erl
...
erlc -o sys_bifs.erl /home/bhyde/incomming/erlang-47.4.0/erts/system/emulator/runtime/bif.tab
erlc -W -bjam -I../../stdlib/include -W -o../ebin sys_bifs.erl
...
erlc -W -bjam -I../../stdlib/include -W -o../ebin jam_asm.erl
Compiler function compile:compile/3 returned:
{error,{undef,{jam_asm,module,
[[{code,jam_asm,
module,
2,
exported,
...
>From there on in all the compiles fail, with a similar failure.
Looks like I compiled the ground right out from under me.
I presume I need to now reinstall and then be careful only to gmake
the libraries that were not shipped already compiled?
- ben hyde
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| seb at erix.ericsson.se |
Posted: Wed Dec 16, 1998 8:39 am |
|
|
|
Guest
|
Ben Hyde <bhyde_at_pobox.com> writes:
>
> I bet I'm going to be sorry about this.
Ouch, yes maybe.
>
> >From there on in all the compiles fail, with a similar failure.
>
> Looks like I compiled the ground right out from under me.
Well, er hum, maybe yes. Our fault! In our rush to ship the system we
didn't properly check the dependencies/ordering for building all the
libraries. I know for a fact that the compiler dependencies are broken
in the shipped version, at least to the extent that it tries to
recompile itself even though it shouldn't.
> I presume I need to now reinstall and then be careful only to gmake
> the libraries that were not shipped already compiled?
The way we do it in the toplevel makefile is to filter out the
libraries which can't be compiled.
If you want to rebuild all the libraries I recommend either, at the
toplevel run "make new_libraries", or descend in the individual
libraries that you wish to recompile and run "gmake
CC_ROOT=/home/bhyde/incomming/erlang-47.4.0/".
-- Sebastian
PS.
A way of restoring the compiler, if you still have the base tar file,
could be to unpack just the compiler over what you have now. So:
% cd /home/bhyde/incomming
% gzcat erlang-47.4.0.base.tar.gz | tar xf - erlang-47.4.0/erts-47.4.0/lib/compiler-1.2.1/ebin
I Hope this helps!
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|