On Wed, 2002-11-06 at 21:19, Jean-Marc Lasgouttes wrote: > >>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes: > > Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > Lars> >>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes: > Lars> | > Lars> | Lars> I already did it. > Lars> | > Lars> | Excellent. >
OK, I did a cvs up, and tested the build... and I *still* get failures on duplicate declarations of strerror and mkstemp. The strerror problem can be fixed by putting in AC_CHECK_FUNCS(strerror) which causes HAVE_STRERROR to be defined in src/config.h when strerror is present, as required. The mkstemp problem is caused by the macro HAVE_DECL_MKSTEMP not being defined, when it should be. This should be defined through the actions of LYX_CHECK_DECL_HDRS(mkstemp,[unistd.h stdlib.h]) , but it fails to define HAVE_DECL_MKSTEMP, despite succeeding in finding the declaration (as reported in config.log). I have verified that manually inserting #define HAVE_DECL_MKSTEMP into src/config.h causes the build to proceed. I'm unsure of how to properly fix the mkstemp problem. So while some changes have been made to config/autoconf.ac , they have not fixed either problem reported so far. Ben.
