Hi,

I am new here, I have downloaded lyx-1.2.2 and I get errors on
compilation, specifically:

// Make sure we get modern version of mmap and friends with void*,
// not `compatibility' version with caddr_t.
#define _POSIX_C_SOURCE 199506L

raises a warning, and there is worse:

from make output:

--snip--
lyxsum.C:36: warning: `_POSIX_C_SOURCE' redefined
/usr/include/features.h:137: warning: this is the location of the previous
definition
In file included from ../../boost/boost/crc.hpp:14,
                 from lyxsum.C:14:
../../boost/boost/integer.hpp:58: Internal compiler error.
../../boost/boost/integer.hpp:58: Please submit a full bug report to
[EMAIL PROTECTED]'.
../../boost/boost/integer.hpp:58: See
<URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make[3]: *** [lyxsum.lo] Error 1
make[3]: Leaving directory `/home/plp/download/lyx-1.2.2/src/support'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/plp/download/lyx-1.2.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/plp/download/lyx-1.2.2/src'
make: *** [all-recursive] Error 1
--snap--

Has anyone seen this error ? I believe that it is due to my ancient
compiler and linux installation (that is why I am upgrading lyx). Is there
a workaround for older compilers ? I suppose that the code in integer.hpp
could be rewritten slightly (by me). Any ideas are welcome.

tia,

Peter

Reply via email to