[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with the boot_linux perl script



Hi,
RH 8.0 enables UTF-8 and that has caused trouble for some.
Try doing:
export LANG=C
export LC_ALL=C
(maybe the first is enough though)
and try again.

/Johan

----- Original Message -----
From: <mschapira@xxxxxxx.com>
To: <dev-etrax@xxxxxxx.com>
Sent: den 11 december 2002 22:10
Subject: problem with the boot_linux perl script


> I recently installed the  Red-Hat Version 8.0 with perl version 5.8.0.
>
> I then installed the axis software distribution, kernel 2.4.14 and cris
> compiler and built the axis platform. After the software was built,
>
> I then attempted to use the flashitall script and I encountered errors
with
> the boot_linux perl script.
>
> The source of the trouble was the get_dword function
>
> sub get_dword
> {
> my $data;
> read(FILE, $data, 4);
> return unpack("H8",pack("V",unpack("N",$data)));
> }
>
> get_dword was not able to properly interperet the data in the file.
>
> I searched for perl 5.8.0 and pack on the web using google.com and I found
> that there were bugs in the pack, unpack functions in version 5.8.0 of
> perl.
>
> I was able to build and flash an image. using Red Hat Version 7.0 with
perl
> version 5.6.0
>
> Has anybody encountered the same problem.
>
> Mark Schapira
>
>