I tried to port Lyx 1.1.2 to Win98 using the cygwin-b20.1 environment, i.e
gcc 2.95. What I first have done is to configure Lyx as by calling following
script:
===========================
#!/bin/sh
./configure --prefix=/apps/lyx112 \
--x-includes=/usr/X11r64/include \
--x-libraries=/usr/X11r64/lib \
--with-extra-lib=/usr/xforms/FORMS \
--with-extra-inc=/usr/xforms/FORMS
===========================
The configuration results in a message, that all components have been found
and make could be called to build Lyx. So I started make and compiling of
various files went well until the executable should be linked. This resulted
in the following error message:
============================
support/libsupport.a(lyxstring.o): In function `int
lexicographical_compare_3way<signed char const *, signed char const
*>(signed char const *, signed char const *, signed char const *, signed
char const *)':
file://D/tmp/lyx-1.1.2/src/support/C:\\CYGNUS\\CYGWIN~1\\H-I586~1\\BIN\\..\\
lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\..\\..\\..\\..\\..\\include\\g++\
\stl_algobase.h(.text$lexicographical_compare_3way__H2ZPCScZPCSc_X01T0X11T2_
i+0x0): multiple definition of `int lexicographical_compare_3way<signed char
const *, signed char const *>(signed char const *, signed char const *,
signed char const *, signed char const *)'
mathed/mathed.o://D/tmp/lyx-1.1.2/src/mathed/formula.h:65: first defined
here
support/libsupport.a(lyxstring.o): In function `int
lexicographical_compare_3way<signed char const *, signed char const
*>(signed char const *, signed char const *, signed char const *, signed
char const *)':
file://D/tmp/lyx-1.1.2/src/support/C:\\CYGNUS\\CYGWIN~1\\H-I586~1\\BIN\\..\\
lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\..\\..\\..\\..\\..\\include\\g++\
\stl_algobase.h(.text$lexicographical_compare__H2ZPCScZPCSc_X01T0X11T2_b+0x0
): multiple definition of `bool lexicographical_compare<signed char const *,
signed char const *>(signed char const *, signed char const *, signed char
const *, signed char const *)'
mathed/mathed.o://D/tmp/lyx-1.1.2/src/mathed/formula.h:65: first defined
here
collect2: ld returned 1 exit status
make[3]: *** [lyx.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1
===========================
Obviously I think, that there is something missed!
Can anybody help me to solve the problem?
Claus