On 05/10/16 05:24, sf...@users.sourceforge.net wrote: > OmegaPhil: >> CC is unset, here is the original make command: > > Ok, thanx. > I will apply this and release next Monday. > > $ .../aufs-util.git$aufs4.1$ git diff -w > diff --git a/Makefile b/Makefile > index 72b68ee..313b62b 100644 > --- a/Makefile > +++ b/Makefile > @@ -65,9 +65,7 @@ endef > $(eval Glibc=$(call test_glibc, ${CC}, ver.c)) > #$(warning Glibc=${Glibc}) > > -ifneq (${CC},${HOSTCC}) > ifeq (${LibAuDir},) > -$(warning Warning: CC is set, but LibAuDir.) > LibAuDir = $(shell ldconfig -p | \ > fgrep libc. | \ > head -n 1 | \ > @@ -77,7 +75,6 @@ $(warning Warning: CC is set, but LibAuDir.) > LibAuDir = /usr/lib > endif > endif > -endif > > ExtlibPath = extlib/glibc > ExtlibObj = au_nftw.o > > > Hmm, I amy remove "LibAuDir = $(shell ldconfig -p ...)" line and set > "/usr/lib" unconditionally after a little thinking. > > >> Note that currently even 'make clean' causes compilation to occur... > > That is really really strange. > Would you post more details? > > > J. R. Okajima >
Here is the situation on a dumb 'make clean' after a successful build (i.e. I'm not configuring an appropriate environment for any aufs stuff to build by not hacking the includes etc etc): ==================================================================== $ make clean ver.c:19:29: fatal error: linux/aufs_type.h: No such file or directory #include <linux/aufs_type.h> ^ compilation terminated. rm -f aufs.5 auibusy aumvdown auplink mount.aufs umount.aufs etc_default_aufs libautil.a libau.so* *~ rm -f auibusy.o aumvdown.o auplink.o mount.aufs.o umount.aufs.o perror.o proc_mnt.o br.o plink.o mtab.o au_nftw.o au_decode_mntpnt.o error_at_line.o for i in au_nftw.c au_decode_mntpnt.c error_at_line.c; \ do test -L ${i} && rm -f ${i} || :; \ done make CC="cc" CPPFLAGS="-D_GNU_SOURCE -I./libau -DAUFHSM_CMD=\"/usr/bin/aufhsm\" -DMOUNT_CMD=\"/bin/mount\" -DUMOUNT_CMD=\"/bin/umount\" -I/home/omega/files/source_code/kernel/aufs/aufs-aufs-util/extlib/non-glibc -DAUPLINK_FTW_CMD=\"/sbin/auplink_ftw\"" CFLAGS="-O -Wall" INSTALL="install" Install="install -o root -g root -p" ManDir="/usr/share/man" TopDir="/home/omega/files/source_code/kernel/aufs/aufs-aufs-util" LibUtilHdr="au_util.h extlib/non-glibc/error_at_line.h" Glibc="no" LibAuDir="" ExtlibPath="extlib/non-glibc" -C libau clean make[1]: Entering directory '/home/omega/files/source_code/kernel/aufs/aufs-aufs-util/libau' rm -f libau.so libau.so.* libau.o rdu_lib.o rdu.o pathconf.o error_at_line.o *~ for i in rdu64.c error_at_line.[ch]; \ do test -L ${i} && rm -f ${i} || :; \ done make[1]: Leaving directory '/home/omega/files/source_code/kernel/aufs/aufs-aufs-util/libau' # empty ==================================================================== Reading the top of the main Makefile, I'm assuming that test_glibc is doing a compilation that always happens regardless of the make target requested.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot