Compile Error: structure has no member named lowest_vol_num
Biefel, Reiner (NSN - DE/Munich)
reiner.biefel at nsn.com
Fri Jul 3 03:00:26 EDT 2009
Hi all,
Thanks. This patch worked fine.
BTW: I don't understand why nobody else did have this problem till now.
BR
Reiner
-----Original Message-----
From: Artem Bityutskiy [mailto:dedekind at infradead.org]
Sent: Friday, July 03, 2009 8:52 AM
To: Mike Frysinger
Cc: Biefel, Reiner (NSN - DE/Munich); linux-mtd at lists.infradead.org
Subject: Re: Compile Error: structure has no member named lowest_vol_num
On Wed, 2009-07-01 at 21:15 -0400, Mike Frysinger wrote:
> the CPPFLAGS in the env changes how make initializes/appends CPPFLAGS
> in sub-makes. this causes the old ubi utils to find the newer headers
> at ubi-utils/include/ before the ubi-utils/old-utils/inc/. i'd pose
> the question of whether keeping old-utils makes sense anymore ? "old"
> sounds to me like "punt" ...
Well, some people use them so far, AFAIK...
> barring that, here is the simple fix:
> --- a/ubi-utils/old-utils/Makefile
> +++ b/ubi-utils/old-utils/Makefile
> @@ -5,8 +5,8 @@
> KERNELHDR := ../../include
>
> CFLAGS ?= -O2 -g -Werror
> -CPPFLAGS += -I./inc -I./src -I$(KERNELHDR) \
> - -std=gnu99 -DPACKAGE_VERSION=\"1.0\"
> +CPPFLAGS := -I./inc -I./src -I$(KERNELHDR) \
> + -std=gnu99 -DPACKAGE_VERSION=\"1.0\" $(CPPFLAGS)
>
> PERLPROGS = mkpfi ubicrc32.pl
Thanks!
Reiner, please, check this.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list