|Unfortunately, that doesn't seem to work! gsdl/src/mgpp/Makefile and
Makefile.in just have
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"
> On Mon, 2004-12-06 at 23:19, Virginia Knight wrote:
>> I'm getting messages such as the following in
>> ld: fatal: symbol `unicode_strnlen' is multiply defined:
>> (file ../../packages/mg/lib/libmg.a(unitool.o) and file
>> As before, I'm using gcc 3.4.2 on Solaris 2.5.
> In /mnt/disk1/cmvhk/gsdl/src/mgpp/Makefile and Makefile.in,
> try modifying line 59 so where it has:
> .SUFFIXES: .cpp .o
> $(CXXCOMPILE) -D__cplusplus $<
> try replacing $(COMPILE) with $(CXXCOMPILE).
> (The problem is that there is a function with the same name
> in the mg code written in C, and the mgpp code written in C++).
> John McPherson
Virginia Knight, Institute for Learning and Research Technology
Tel: +44 (0)117 928 7154 Fax: +44 (0)117 928 7112
University of Bristol, 8-10 Berkeley Square, Bristol BS8 1HH
Official homepage: http://www.ilrt.bris.ac.uk/aboutus/staff?search=cmvhk
Personal homepage: http://www.ilrt.bris.ac.uk/~ggvhk/virginia.html
ILRT homepage: http://www.ilrt.bristol.ac.uk