Re: [greenstone-users] multiply defined symbols

From John R. McPherson
DateWed, 08 Dec 2004 11:23:39 +1300
Subject Re: [greenstone-users] multiply defined symbols
In-Reply-To (2112215-1102419466-192-168-0-2)
On Wed, 2004-12-08 at 00:37, Virginia Knight wrote:
> Unfortunately, that doesn't seem to work! gsdl/src/mgpp/Makefile and
> Makefile.in just have
> .SUFFIXES:
> without further qualification at about line 51. Changing this following
> your suggestion makes no difference. gsdl/src/mgpp/lib/Makefile and
> Makefile.in do have .SUFFIXES: .cpp .o etc. at line 59 but changing this
> also makes no difference - I get the same errors.
...
> --On Tuesday, December 07, 2004 17:27 +1300 "John R. McPherson"
> <jrm21@cs.waikato.ac.nz> wrote:
...
> > In /mnt/disk1/cmvhk/gsdl/src/mgpp/Makefile and Makefile.in,
> > try modifying line 59 so where it has:
> >#####
> > .SUFFIXES: .cpp .o
> > .cpp.o:
> > $(CXXCOMPILE) -D__cplusplus $<
> >#####
> > try replacing $(COMPILE) with $(CXXCOMPILE).

Sorry, I should have suggested doing a "make clean" in the
/mnt/disk1/cmvhk/gsdl/src/mgpp/ directory as well, to remove
the previously created object and library files.

If that doesn't work, follow up to me and we'll find a way to
fix this, and post the fix to the list afterwards.

John