From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cn.fujitsu.com ([59.151.112.132]:19656 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1756980AbcJXBIX (ORCPT ); Sun, 23 Oct 2016 21:08:23 -0400 Subject: Re: build error btrfs-progs 4.8.1 To: Peter Becker , linux-btrfs References: From: Qu Wenruo Message-ID: <256788fe-24f3-96f6-befc-af50972e811e@cn.fujitsu.com> Date: Mon, 24 Oct 2016 09:08:13 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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 : >> 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 : >>> $ 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 > >