linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* build error btrfs-progs 4.8.1
@ 2016-10-21 21:23 Peter Becker
  2016-10-21 21:30 ` Peter Becker
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Becker @ 2016-10-21 21:23 UTC (permalink / raw)
  To: linux-btrfs

$ uname -r
4.8.3-040803-generic

$ git remote -v
origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
(fetch)
origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
(push)

$ git pull
Already up-to-date.

$ ./autogen.sh
...
$ ./configure
...
$ make
...
make: *** Keine Regel vorhanden, um das Ziel "list.h",
   benötigt von "ctree.o", zu erstellen.  Schluss.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build error btrfs-progs 4.8.1
  2016-10-21 21:23 build error btrfs-progs 4.8.1 Peter Becker
@ 2016-10-21 21:30 ` Peter Becker
  2016-10-22 19:32   ` Peter Becker
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Becker @ 2016-10-21 21:30 UTC (permalink / raw)
  To: linux-btrfs

Generate build-system by:
   aclocal:    aclocal (GNU automake) 1.15
   autoconf:   autoconf (GNU Autoconf) 2.69
   autoheader: autoheader (GNU Autoconf) 2.69
   automake:   automake (GNU automake) 1.15

Now type './configure' and 'make' to compile.

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... ar
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for openat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for backtrace_symbols_fd... yes
checking for asciidoc... /usr/bin/asciidoc
checking for xmlto... /usr/bin/xmlto
checking for gzip... /bin/gzip
checking for mv... /bin/mv
checking for a sed that does not truncate output... /bin/sed
checking for EXT2FS... yes
checking for COM_ERR... yes
checking for FIEMAP_EXTENT_SHARED defined in linux/fiemap.h... yes
checking for BLKID... yes
checking for UUID... yes
checking for ZLIB... yes
checking for lzo_version in -llzo2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Documentation/Makefile
config.status: creating version.h
config.status: creating config.h
config.status: config.h is unchanged

btrfs-progs v4.8.1

prefix:            /usr/local
exec prefix:       ${prefix}

bindir:            ${exec_prefix}/bin
libdir:            ${exec_prefix}/lib
includedir:        ${prefix}/include

compiler:          gcc
cflags:            -g -O1 -Wall -D_FORTIFY_SOURCE=2
ldflags:

documentation:     yes
backtrace support: yes
btrfs-convert:     yes (ext2)

Type 'make' to compile.

make: *** Keine Regel vorhanden, um das Ziel "list.h",
   benötigt von "ctree.o", zu erstellen.  Schluss.

2016-10-21 23:23 GMT+02:00 Peter Becker <floyd.net@gmail.com>:
> $ uname -r
> 4.8.3-040803-generic
>
> $ git remote -v
> origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
> (fetch)
> origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
> (push)
>
> $ git pull
> Already up-to-date.
>
> $ ./autogen.sh
> ...
> $ ./configure
> ...
> $ make
> ...
> make: *** Keine Regel vorhanden, um das Ziel "list.h",
>    benötigt von "ctree.o", zu erstellen.  Schluss.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build error btrfs-progs 4.8.1
  2016-10-21 21:30 ` Peter Becker
@ 2016-10-22 19:32   ` Peter Becker
  2016-10-24  1:08     ` Qu Wenruo
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Becker @ 2016-10-22 19:32 UTC (permalink / raw)
  To: linux-btrfs

Solved .. delete and clone again works .. but rebase / reset --hard
not .. hmm curious

2016-10-21 23:30 GMT+02:00 Peter Becker <floyd.net@gmail.com>:
> Generate build-system by:
>    aclocal:    aclocal (GNU automake) 1.15
>    autoconf:   autoconf (GNU Autoconf) 2.69
>    autoheader: autoheader (GNU Autoconf) 2.69
>    automake:   automake (GNU automake) 1.15
>
> Now type './configure' and 'make' to compile.
>
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for an ANSI C-conforming const... yes
> checking for working volatile... yes
> checking whether byte ordering is bigendian... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for ar... ar
> checking for rm... /bin/rm
> checking for rmdir... /bin/rmdir
> checking for openat... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking execinfo.h usability... yes
> checking execinfo.h presence... yes
> checking for execinfo.h... yes
> checking for backtrace... yes
> checking for backtrace_symbols_fd... yes
> checking for asciidoc... /usr/bin/asciidoc
> checking for xmlto... /usr/bin/xmlto
> checking for gzip... /bin/gzip
> checking for mv... /bin/mv
> checking for a sed that does not truncate output... /bin/sed
> checking for EXT2FS... yes
> checking for COM_ERR... yes
> checking for FIEMAP_EXTENT_SHARED defined in linux/fiemap.h... yes
> checking for BLKID... yes
> checking for UUID... yes
> checking for ZLIB... yes
> checking for lzo_version in -llzo2... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating Documentation/Makefile
> config.status: creating version.h
> config.status: creating config.h
> config.status: config.h is unchanged
>
> btrfs-progs v4.8.1
>
> prefix:            /usr/local
> exec prefix:       ${prefix}
>
> bindir:            ${exec_prefix}/bin
> libdir:            ${exec_prefix}/lib
> includedir:        ${prefix}/include
>
> compiler:          gcc
> cflags:            -g -O1 -Wall -D_FORTIFY_SOURCE=2
> ldflags:
>
> documentation:     yes
> backtrace support: yes
> btrfs-convert:     yes (ext2)
>
> Type 'make' to compile.
>
> make: *** Keine Regel vorhanden, um das Ziel "list.h",
>    benötigt von "ctree.o", zu erstellen.  Schluss.
>
> 2016-10-21 23:23 GMT+02:00 Peter Becker <floyd.net@gmail.com>:
>> $ uname -r
>> 4.8.3-040803-generic
>>
>> $ git remote -v
>> origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
>> (fetch)
>> origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
>> (push)
>>
>> $ git pull
>> Already up-to-date.
>>
>> $ ./autogen.sh
>> ...
>> $ ./configure
>> ...
>> $ make
>> ...
>> make: *** Keine Regel vorhanden, um das Ziel "list.h",
>>    benötigt von "ctree.o", zu erstellen.  Schluss.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build error btrfs-progs 4.8.1
  2016-10-22 19:32   ` Peter Becker
@ 2016-10-24  1:08     ` Qu Wenruo
  0 siblings, 0 replies; 4+ messages in thread
From: Qu Wenruo @ 2016-10-24  1:08 UTC (permalink / raw)
  To: Peter Becker, linux-btrfs

You must have moved HEAD from previous version, and didn't run make clean.

It is the *.o.d telling gcc which headers they need.
And those *.o.d files are ignored by git, so it won't be cleaned by git 
reset.


So the correct work flow is:
0) make clean
1) autogen
2) configure
3) make

Thanks,
Qu

At 10/23/2016 03:32 AM, Peter Becker wrote:
> Solved .. delete and clone again works .. but rebase / reset --hard
> not .. hmm curious
>
> 2016-10-21 23:30 GMT+02:00 Peter Becker <floyd.net@gmail.com>:
>> Generate build-system by:
>>    aclocal:    aclocal (GNU automake) 1.15
>>    autoconf:   autoconf (GNU Autoconf) 2.69
>>    autoheader: autoheader (GNU Autoconf) 2.69
>>    automake:   automake (GNU automake) 1.15
>>
>> Now type './configure' and 'make' to compile.
>>
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking how to run the C preprocessor... gcc -E
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking minix/config.h usability... no
>> checking minix/config.h presence... no
>> checking for minix/config.h... no
>> checking whether it is safe to define __EXTENSIONS__... yes
>> checking for gcc... (cached) gcc
>> checking whether we are using the GNU C compiler... (cached) yes
>> checking whether gcc accepts -g... (cached) yes
>> checking for gcc option to accept ISO C89... (cached) none needed
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking for an ANSI C-conforming const... yes
>> checking for working volatile... yes
>> checking whether byte ordering is bigendian... no
>> checking for special C compiler options needed for large files... no
>> checking for _FILE_OFFSET_BITS value needed for large files... no
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether ln -s works... yes
>> checking for ar... ar
>> checking for rm... /bin/rm
>> checking for rmdir... /bin/rmdir
>> checking for openat... yes
>> checking for pkg-config... /usr/bin/pkg-config
>> checking pkg-config is at least version 0.9.0... yes
>> checking execinfo.h usability... yes
>> checking execinfo.h presence... yes
>> checking for execinfo.h... yes
>> checking for backtrace... yes
>> checking for backtrace_symbols_fd... yes
>> checking for asciidoc... /usr/bin/asciidoc
>> checking for xmlto... /usr/bin/xmlto
>> checking for gzip... /bin/gzip
>> checking for mv... /bin/mv
>> checking for a sed that does not truncate output... /bin/sed
>> checking for EXT2FS... yes
>> checking for COM_ERR... yes
>> checking for FIEMAP_EXTENT_SHARED defined in linux/fiemap.h... yes
>> checking for BLKID... yes
>> checking for UUID... yes
>> checking for ZLIB... yes
>> checking for lzo_version in -llzo2... yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating Documentation/Makefile
>> config.status: creating version.h
>> config.status: creating config.h
>> config.status: config.h is unchanged
>>
>> btrfs-progs v4.8.1
>>
>> prefix:            /usr/local
>> exec prefix:       ${prefix}
>>
>> bindir:            ${exec_prefix}/bin
>> libdir:            ${exec_prefix}/lib
>> includedir:        ${prefix}/include
>>
>> compiler:          gcc
>> cflags:            -g -O1 -Wall -D_FORTIFY_SOURCE=2
>> ldflags:
>>
>> documentation:     yes
>> backtrace support: yes
>> btrfs-convert:     yes (ext2)
>>
>> Type 'make' to compile.
>>
>> make: *** Keine Regel vorhanden, um das Ziel "list.h",
>>    benötigt von "ctree.o", zu erstellen.  Schluss.
>>
>> 2016-10-21 23:23 GMT+02:00 Peter Becker <floyd.net@gmail.com>:
>>> $ uname -r
>>> 4.8.3-040803-generic
>>>
>>> $ git remote -v
>>> origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
>>> (fetch)
>>> origin git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
>>> (push)
>>>
>>> $ git pull
>>> Already up-to-date.
>>>
>>> $ ./autogen.sh
>>> ...
>>> $ ./configure
>>> ...
>>> $ make
>>> ...
>>> make: *** Keine Regel vorhanden, um das Ziel "list.h",
>>>    benötigt von "ctree.o", zu erstellen.  Schluss.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-24  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-21 21:23 build error btrfs-progs 4.8.1 Peter Becker
2016-10-21 21:30 ` Peter Becker
2016-10-22 19:32   ` Peter Becker
2016-10-24  1:08     ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).