On Tue, 23 Apr 2002, Pascal Francq wrote:
> Hi,
> When I compile current CVS version, I hvae the following error:
>
> Making all in mathed
> make[3]: Entering directory `/home/pfrancq/tmp/lyx-devel/src/mathed'
> /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
>formulabase.C
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost -isystem
>/usr/X11R6/include -g -O -fno-exceptions -W -Wall -Wp,-MD,.deps/formulabase.pp -c
>formulabase.C
> formulabase.C:804:2: warning: #warning pretty ugly
> In file included from /usr/include/stdlib.h:390,
> from /usr/include/g++-3/stl_alloc.h:54,
> from /usr/include/g++-3/alloc.h:21,
> from /usr/include/g++-3/std/bastring.h:39,
> from /usr/include/g++-3/string:6,
> from ../../src/LString.h:20,
> from ../../src/Lsstream.h:17,
> from formulabase.C:18:
> /usr/include/sys/types.h:87: declaration does not declare anything
> make[3]: *** [formulabase.lo] Error 1
> make[3]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src/mathed'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src'
> make: *** [all-recursive] Error 1
>
> Is there a workaround?
> --
>
What is the version of your "autoconf"? If it is 2.5..., then you have to
downgrade to 2.13 or similar.
--cghan