"Kayvan A. Sylvan" wrote: > > /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ >-I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -O2 -m486 >-fno-strength-reduce -c math_macro.C > gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost >-isystem /usr/X11R6/include -O2 -m486 -fno-strength-reduce -c math_macro.C -o >math_macro.o > In file included from ../../src/lyxfont.h:21, > from ../../src/mathed/support.h:6, > from array.h:22, > from math_parinset.h:5, > from math_macro.h:28, > from math_macro.C:24: > ../../src/LString.h:20: #error The <string> header has been included before LString.h > make[4]: *** [math_macro.lo] Error 1 > make[4]: Leaving directory `/usr/local/src/rpm/BUILD/lyx-1.2.0cvs/src/mathed' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/local/src/rpm/BUILD/lyx-1.2.0cvs/src' > make[2]: *** [all-recursive-am] Error 2 > make[2]: Leaving directory `/usr/local/src/rpm/BUILD/lyx-1.2.0cvs/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/rpm/BUILD/lyx-1.2.0cvs' > Bad exit status from /var/tmp/rpm-tmp.91231 (%build) > make: *** [rpmdist] Error 1 > **** > BUILD FAILED: lyx rpm With gcc-3.0 20010528 I get the failure found in the attached make.log cvs update 11AM US EST
Making all in mathed make[3]: Entering directory `/usr/local/garst/lyx-devel/src/mathed' /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -O -W -Wall -c array.C g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -O -W -Wall -Wp,-MD,.deps/array.pp -c array.C -o array.o In file included from ../../src/debug.h:22, from array.C:8: ../../src/support/lstrings.h: In function `int compare(const char*, const char*)': ../../src/support/lstrings.h:37: `strcmp' undeclared (first use this function) ../../src/support/lstrings.h:37: (Each undeclared identifier is reported only once for each function it appears in.) ../../src/support/lstrings.h: In function `int compare(const char*, const char*, unsigned int)': ../../src/support/lstrings.h:44: `strncmp' undeclared (first use this function) array.C: In member function `void MathedArray::move(int, int)': array.C:230: `memmove' undeclared (first use this function) make[3]: *** [array.lo] Error 1 make[3]: Leaving directory `/usr/local/garst/lyx-devel/src/mathed' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/garst/lyx-devel/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/usr/local/garst/lyx-devel/src' make: *** [all-recursive] Error 1