Compile Error: structure has no member named lowest_vol_num
Artem Bityutskiy
dedekind at infradead.org
Fri Jul 3 02:52:22 EDT 2009
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