[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] Make doesn't abort on error
- From: Russell Coker <russell coker com au>
- To: linux-lvm sistina com
- Subject: [linux-lvm] Make doesn't abort on error
- Date: Sat, 16 Dec 2000 16:19:02 +0100
ln -s liblvm.so.0.8final liblvm.so
ln: `liblvm.so': File exists
make[4]: *** [liblvm.so.0.8final] Error 1
make[4]: Leaving directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/lib'
make[3]: Entering directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/man8'
make[4]: Entering directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/man8'
Above is the error condition that make isn't detecting. I've changed the
makefiles to use sonames so I can have multiple versions installed with ease
(I'll send the patch here when it's working - hopefully within 24 hours
otherwise maybe after Christmas).
Below is the code from make.tmpl. For some reason when the "make -c
tools/lib all" fails it doesn't result in compilation aborting. Perhaps
someone who knows make and shell scripting better than I can advise...
all:
@for d in $(SUBDIRS); \
do \
if [ "$$d" = "." ]; \
then \
$(MAKE) all_this; \
else \
$(MAKE) -C $$d all; \
fi; \
done
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]