From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Rydberg To: sid@sources.redhat.com Subject: build error Date: Wed, 03 Jan 2001 03:50:00 -0000 Message-id: <3A531293.45FFFB6@netinsight.se> X-SW-Source: 2001-q1/msg00000.html Hi! I get the following error: /bin/sh ../../libtool --mode=link c++ -g -O2 -o libbusif.la -rpath -module -no-undefined busif.lo -lm -lstdc++ libtool: link: only absolute run-paths are allowed make[3]: *** [libbusif.la] Error 1 make[3]: Leaving directory `/.automount/nfs1/export2/home/johryd/prj/sid/src/sid/component/mapper/testsuite' It seems that VPATH is unset: libbusif_la_LDFLAGS = -rpath $(VPATH) -module -no-undefined I run the following version of GNU make: GNU Make version 3.78.1, by Richard Stallman and Roland McGrath. It is configured to compile in the source directory! I also get an error when trying to build the testsuite for the lcd component. Here's a small patch that fixes that; RCS file: /cvs/src/src/sid/component/lcd/testsuite/Makefile.am,v retrieving revision 1.1 diff -u -r1.1 Makefile.am --- Makefile.am 2000/12/07 19:30:53 1.1 +++ Makefile.am 2001/01/03 11:47:38 @@ -7,12 +7,12 @@ INCLUDES = -I. -I../../../include -I$(srcdir)/../../../include -I$(srcdir)/.. all-local: - cp $(srcdir)/hd-one-line.conf . - cp $(srcdir)/hd-two-line.conf . - cp $(srcdir)/hd-5X10.conf . - cp $(srcdir)/hd-europe.conf . - cp $(srcdir)/t6963c-tcl.conf . - cp $(srcdir)/t6963c-japan.conf . + test -e ./hd-one-line.conf || cp $(srcdir)/hd-one-line.conf . + test -e ./hd-two-line.conf || cp $(srcdir)/hd-two-line.conf . + test -e ./hd-5X10.conf || cp $(srcdir)/hd-5X10.conf . + test -e ./hd-europe.conf || cp $(srcdir)/hd-europe.conf . + test -e ./t6963c-tcl.conf || cp $(srcdir)/t6963c-tcl.conf . + test -e ./t6963c-japan.conf || cp $(srcdir)/t6963c-japan.conf . libt6963c_test_la_SOURCES = t6963c-tester.cxx libt6963c_test_la_LDFLAGS = -rpath $(VPATH) -module -no-undefined