[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32
From: |
John W. Eaton |
Subject: |
Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32 |
Date: |
Sat, 2 Oct 2010 03:09:30 -0400 |
On 2-Oct-2010, Tatsuro MATSUOKA wrote:
| Hello John
|
| Following your suggestion,
|
| > > | # define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)
| > >
| > > We need to discuss this with the gnulib maintainers. For C++, it
| > > would be helpful if this were a function instead of a macro.
|
| I have posted the issue to gnulib ML. The gnulib team kindly consider the
modification
|
http://old.nabble.com/definition-of-waitpid-in-sys_wait.in.h-for-C%2B%2B-on-windows-td29835577.html
|
| The compile issue from the definition of waitpid for the windows is solved.
|
| Thanks!!
|
| BTW, the other error from gnulib::gethostname is
| treated by the similar way that for 'unlink'.
|
|
http://octave.1599824.n4.nabble.com/Error-unlink-is-not-a-member-of-gnulib-on-the-recent-check-out-of-development-branch-was-Re-MinGW-co-td2252605.html#a2252632
|
| The function 'gnulib::gethostname' was replaced by 'gethostname'.
|
| I do not think that this is correct way but did it to go forward.
Right, it would be better to understand what is happening to cause the
error and fix it. To start, please send me your libgnu/unistd.h file.
jwe