On 15-Apr-2002 [EMAIL PROTECTED] wrote: > Hello, > > I had no problem of compiling lyx-1.2.0pre3 with RedHat-7.2. But after > recent updates from redhat, I have had the following compiling error. Can > anyone give me a clue? > > -------- > source='formulabase.C' object='formulabase.lo' libtool=yes \ > depfile='.deps/formulabase.Plo' tmpdepfile='.deps/formulabase.TPlo' \ > depmode=gcc3 /bin/sh ../../config/depcomp \ > /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I../../src -I./../ -I../.. -I../../boost -isystem /usr/X11R6/include -g > -O -fno-exceptions -W -Wall -c -o formulabase.lo `test -f formulabase.C || > echo './'`formulabase.C > g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost > -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c > formulabase.C -MT formulabase.lo -MD -MP -MF .deps/formulabase.TPlo > formulabase.C:806:2: warning: #warning pretty ugly > In file included from /usr/include/stdlib.h:390, > from /usr/include/g++-3/stl_algobase.h:50, > from /usr/include/g++-3/vector:30, > from ../../src/insets/inset.h:18, > from formulabase.h:23, > from formula.h:24, > from formulabase.C:25: > /usr/include/sys/types.h:87: declaration does not declare anything > make[3]: *** [formulabase.lo] ¿À·ù 1 > make[3]: ³ª°¨ `/usr/src/redhat/BUILD/CJK-LyX-1.2.0pre3/src/mathed' > µð·ºÅ丮 > make[2]: *** [all-recursive] ¿À·ù 1 > make[2]: ³ª°¨ `/usr/src/redhat/BUILD/CJK-LyX-1.2.0pre3/src' µð·ºÅ丮 > make[1]: *** [all] ¿À·ù 2 > make[1]: ³ª°¨ `/usr/src/redhat/BUILD/CJK-LyX-1.2.0pre3/src' µð·ºÅ丮 > make: *** [all-recursive] ¿À·ù 1
What did you update? It seems the problem lies in the system include file. Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Brain off-line, please wait.