gcc 4.5 and copy_flag in libubigen.c
Artem Bityutskiy
dedekind1 at gmail.com
Tue Mar 15 04:04:56 EDT 2011
On Mon, 2011-03-14 at 17:37 +0100, Andre Naujoks wrote:
> Hi all.
>
> I am compiling a board support package with mtd-utils-1.3.1.
>
> After a gcc update to version 4.5 on my host the build fails and it
> tells me that:
>
> ./src/libubigen.c: In function 'ubigen_write_leb':
> ./src/libubigen.c:204:19: error: operation on 'u->v->copy_flag' may be
> undefined.
>
> This seems like a recently introduced warning by the new gcc version,
> but because of the -Werror halts my build.
>
> I had a look into the source at ubi-utils/old-utils/src/libubigen.c and
> it says:
You are using old UBI utils, they are not supported for long time. They
were removed from the mtd-utils tree recently. Try to use the new UBI
utilities.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list