binary_to_term

Ulf Ekström ulf.ekstrom@REDACTED
Mon Jul 31 14:35:32 CEST 2000


I have the erl4.3.1 distribution (for Linux) but the problem is that
it contains object-files (no source files) and I havn't
succeded in linking them. This is because I do not know
which version of libc was used to produce them.
(they were built in 1995)

/Ulf Ekström

----- Original Message -----
From: "Gordon Beaton" <not.for.email@REDACTED>
To: <erlang-questions@REDACTED>
Sent: Monday, July 31, 2000 1:32 PM
Subject: Re: binary_to_term


> On 28 Jul 2000 12:04:35 GMT, Ulf Ekström wrote:
> > I  have a binary file produced by term_to_binary in 1995 (erl4.3.1).
> > The problem is that I want to use the information in that file with
> > the latest version of Erlang but binary_to_term can't read the
> > representation
> > used by the old term_to_binary.
> > The function erlang:old_binary_to_term doesn't work either.
> >
> > Does anybody know how to solve this problem?
>
> According to Björn, the external format has not changed during the
> history of OTP (although things have been added), so it is possible
> that the file is corrupt. Can you decode it with erl4.3.1 (do you
> still have that version available)?
>
> /gordon
>
> --
> g o r d o n . b e a t o n @ e r i c s s o n . c o m
> software architecture laboratory
> ericsson research
> stockholm, sweden




More information about the erlang-questions mailing list