GNU bug report logs -
#49628
Compiling error after a successfully ./configure
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi all,
I am trying to compile parted 3.4 with the following configuration:
./configure --without-readline --disable-debug --disable-nls
--disable-shared --enable-discover-only --disable-device-mapper
however, make gives me a compile error. Instead with this, everything is
fine
./configure --without-readline --disable-debug --disable-nls
--disable-shared --disable-device-mapper
The difference is in
-enable-discover-only
and digging into the error
gpt.c: In function 'gpt_read':
gpt.c:1075:35: error: 'write_back' undeclared (first use in this function)
1075 | if (!_parse_header (disk, gpt, &write_back))
| ^~~~~~~~~~
gpt.c:1075:35: note: each undeclared identifier is reported only once for
each function it appears in
I found that variable is not defined when DISCOVER_ONLY is enabled
Cheers,
--
Roberto A. Foglietta
+39.349.33.30.697
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 296 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.