From: Artem Bityutskiy <dedekind@infradead.org>
To: Mike Frysinger <vapier@gentoo.org>
Cc: "Biefel, Reiner \(NSN - DE/Munich\)" <reiner.biefel@nsn.com>,
linux-mtd@lists.infradead.org
Subject: Re: Compile Error: structure has no member named lowest_vol_num
Date: Tue, 30 Jun 2009 17:44:48 +0300 [thread overview]
Message-ID: <1246373088.20721.11.camel@localhost.localdomain> (raw)
In-Reply-To: <077E41CFFD002C4CAB7DFA4386A53264F5D7E7@DEMUEXC014.nsn-intra.net>
On Thu, 2009-06-25 at 14:12 +0200, Biefel, Reiner (NSN - DE/Munich)
wrote:
> Hello,
>
> till snapshot a2d010f8fca904fffa3c6e5a5d148cc96a37a08a from 27.02.2009 I
> can compile the sources. Also cross-compile worked fine.
> All releases after that release I couldn't compile anymore.
>
> I allways get the error
> ./src/libubi.c:347: error: structure has no member named
> `lowest_vol_num'
>
> >From my try to compile git snapshot version
> mtd-utils-e4d5eea6414093fb074b19585cb8bebadc2d3e0e.tar.gz from
> 2009-06-08
> .....
> gcc -I /utran/fdd/nodeb/opt/i686-pc-linux-gnu/zlib/include -I
> /utran/fdd/nodeb/opt/i686-pc-linux-gnu//lzo/include -I
> /utran/fdd/nodeb/opt/i686-pc-linux-gnu/e2fsprogs/include -I./include
> -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -Iinclude -Isrc -I../include
> -D_FILE_OFFSET_BITS=64 -I./inc -I./src -I../../include -std=gnu99
> -DPACKAGE_VERSION=\"1.0\" -D_FILE_OFFSET_BITS=64 -O2 -Wall -Wextra
> -Wwrite-strings -Wno-sign-compare -Wall -Wextra -Wwrite-strings
> -Wno-sign-compare -Wall -Wextra -Wwrite-strings -Wno-sign-compare -c -o
> /utran/fdd/nodeb/opt/src/build/i686-pc-linux-gnu/mtd-utils/ubi-utils/old
> -utils/pfi.o ./src/pfi.c -g
> -Wp,-MD,/utran/fdd/nodeb/opt/src/build/i686-pc-linux-gnu/mtd-utils/ubi-u
> tils/old-utils/.pfi.c.dep
> gcc -I /utran/fdd/nodeb/opt/i686-pc-linux-gnu/zlib/include -I
> /utran/fdd/nodeb/opt/i686-pc-linux-gnu//lzo/include -I
> /utran/fdd/nodeb/opt/i686-pc-linux-gnu/e2fsprogs/include -I./include
> -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -Iinclude -Isrc -I../include
> -D_FILE_OFFSET_BITS=64 -I./inc -I./src -I../../include -std=gnu99
> -DPACKAGE_VERSION=\"1.0\" -D_FILE_OFFSET_BITS=64 -O2 -Wall -Wextra
> -Wwrite-strings -Wno-sign-compare -Wall -Wextra -Wwrite-strings
> -Wno-sign-compare -Wall -Wextra -Wwrite-strings -Wno-sign-compare -c -o
> /utran/fdd/nodeb/opt/src/build/i686-pc-linux-gnu/mtd-utils/ubi-utils/old
> -utils/libubi.o ./src/libubi.c -g
> -Wp,-MD,/utran/fdd/nodeb/opt/src/build/i686-pc-linux-gnu/mtd-utils/ubi-u
> tils/old-utils/.libubi.c.dep
> ./src/libubi.c: In function `ubi_get_dev_info1':
> ./src/libubi.c:347: error: structure has no member named
> `lowest_vol_num'
> ./src/libubi.c:355: error: structure has no member named
> `highest_vol_num'
> ./src/libubi.c:356: error: structure has no member named
> `highest_vol_num'
> ./src/libubi.c:357: error: structure has no member named
> `lowest_vol_num'
> ./src/libubi.c:358: error: structure has no member named
> `lowest_vol_num'
> ./src/libubi.c:364: error: structure has no member named
> `lowest_vol_num'
> ./src/libubi.c:365: error: structure has no member named
> `lowest_vol_num'
> ./src/libubi.c:367: error: structure has no member named `avail_ebs'
> ./src/libubi.c:369: error: structure has no member named `total_ebs'
> ./src/libubi.c:373: error: structure has no member named `eb_size'
> ./src/libubi.c:384: error: structure has no member named `avail_ebs'
> ./src/libubi.c:384: error: structure has no member named `eb_size'
> ./src/libubi.c:385: error: structure has no member named `total_ebs'
> ./src/libubi.c:385: error: structure has no member named `eb_size'
> ./src/libubi.c: In function `ubi_get_vol_info1':
> ./src/libubi.c:439: error: structure has no member named `rsvd_ebs'
> ./src/libubi.c:442: error: structure has no member named `eb_size'
> ./src/libubi.c:449: error: structure has no member named `eb_size'
> ./src/libubi.c:449: error: structure has no member named `rsvd_ebs'
> ./src/libubi.c: In function `find_vol_num':
> ./src/libubi.c:894: error: structure has no member named
> `lowest_vol_num'
> ./src/libubi.c:894: error: structure has no member named
> `highest_vol_num'
> make[2]: ***
> [/utran/fdd/nodeb/opt/src/build/i686-pc-linux-gnu/mtd-utils/ubi-utils/ol
> d-utils/libubi.o] Error 1
> make[2]: Leaving directory
> `/utran/fdd/nodeb/opt/src/build/i686-pc-linux-gnu/mtd-utils/ubi-utils/ol
> d-utils'
> make[1]: *** [subdirs_old-utils_all] Error 2
Hi Mike,
this seems to be after your build system re-work. Do you have any
idea what could be wrong? I cannot reproduce this.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2009-06-30 14:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 12:12 Compile Error: structure has no member named lowest_vol_num Biefel, Reiner (NSN - DE/Munich)
2009-06-29 7:29 ` Biefel, Reiner (NSN - DE/Munich)
2009-06-30 11:45 ` Artem Bityutskiy
2009-06-30 14:27 ` Biefel, Reiner (NSN - DE/Munich)
2009-06-30 14:44 ` Artem Bityutskiy [this message]
2009-07-02 1:15 ` Mike Frysinger
2009-07-03 6:52 ` Artem Bityutskiy
2009-07-03 7:00 ` Biefel, Reiner (NSN - DE/Munich)
2009-07-03 7:02 ` Mike Frysinger
2009-07-03 7:08 ` Biefel, Reiner (NSN - DE/Munich)
2009-07-03 7:12 ` Mike Frysinger
2009-07-03 7:17 ` Biefel, Reiner (NSN - DE/Munich)
2009-07-03 7:19 ` Mike Frysinger
2009-07-03 7:22 ` Artem Bityutskiy
2009-07-03 7:41 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1246373088.20721.11.camel@localhost.localdomain \
--to=dedekind@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=reiner.biefel@nsn.com \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox