Abdelrazak Younes a écrit :

libqt4 was compiled successfully (and very quickly :-)) but I had a compiling error: g++ -o release\common\support\path.o -c -ID:\cygwin\home\yns\lyx\trunk\boost -ID:\cygwin\home\yns\lyx\trunk\src
 D:\cygwin\home\yns\lyx\trunk\src\support\path.C
D:\cygwin\home\yns\lyx\trunk\src\support\mkdir.C: In function `int lyx::support::mkdir(const std::string&, long unsigned int)': D:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h:162: error: too many arguments to function `int mkdir(const char*)' D:\cygwin\home\yns\lyx\trunk\src\support\mkdir.C:38: error: at this point in file
scons: *** [release\common\support\mkdir.o] Error 1
scons: building terminated because of errors.

This is because HAVE_MKDIR is set to 1 in "config.h" did you change something WRT that?

Actually I think it should be either

 #define HAVE_MKDIR 1
 #define MKDIR_TAKES_ONE_ARG 1

or

 #undef HAVE_MKDIR

But I see that MKDIR_TAKES_ONE_ARG is commented out in scons "config.h":

 /* #undef MKDIR_TAKES_ONE_ARG */


Abdel.

Reply via email to