octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mxe-octave: build fails with ".../unistd-wrappers.h:56:8: error: 'pi


From: PhilipNienhuis
Subject: Re: mxe-octave: build fails with ".../unistd-wrappers.h:56:8: error: 'pid_t' does not name a type"
Date: Sun, 19 Jun 2016 06:31:40 -0700 (PDT)

John W. Eaton wrote
>>On Fri, Jun 17, 2016 at 14:31:41 -0700, PhilipNienhuis wrote:
>>> Octave-dev tip (21942:aab79a1885cc) fails to build in mxe-octave (tip
>>> 4157:fcf0410f7055) while building (AFAICS)
>>> libinterp/corefcn/oct-tex-lexer.cc with errors along the lines of:
>>> 
>>> :
>>>
>>/home/philip/devel/octdev/mxe/mxe_64b_20160617/tmp-default-octave/octave-4.1.0+/liboctave/wrappers/unistd-wrappers.h:56:8:
>>> error: 'pid_t' does not name a type
>>>  extern pid_t octave_fork_wrapper (void);
> 
> 
> I have a patch in progress that will fix the Windows build.  I'll try to
> finish it and push this weekend.
> 
> jwe

If you refer to 
changeset 21949:baeffde5c87d  (default)
-and- 
changeset 4159:c190f2cae988 (mxe-octave)

wow, that's quite a bit of work, thank you.

Still dev octave doesn't cross-build for me.
Excerpt from log with a bit of preceding context to show where it breaks:

:
mv scripts/java/octave.jar-t scripts/java/octave.jar
/home/philip/devel/octdev/mxe/mxe_64b_20160617/tmp-default-octave/octave-4.1.0+/scripts/DOCSTRINGS
is unchanged
g++ -o src/x86_64-w64-mingw32-mkoctfile -Dgnulib='' -Doctave_idx_type=int
-I.
-I/home/philip/devel/octdev/mxe/mxe_64b_20160617/tmp-default-octave/octave-4.1.0+
-O2 -g 
-I/home/philip/devel/octdev/mxe/mxe_64b_20160617/tmp-default-octave/octave-4.1.0+/src
src/x86_64-w64-mingw32-mkoctfile.cc
g++ -o src/x86_64-w64-mingw32-octave-config -Dgnulib=''
-Doctave_idx_type=int -I.
-I/home/philip/devel/octdev/mxe/mxe_64b_20160617/tmp-default-octave/octave-4.1.0+
-O2 -g 
-I/home/philip/devel/octdev/mxe/mxe_64b_20160617/tmp-default-octave/octave-4.1.0+/src
src/x86_64-w64-mingw32-octave-config.cc
src/x86_64-w64-mingw32-mkoctfile.cc:38:29: fatal error: unistd-wrappers.h:
No such file or directory
 #include "unistd-wrappers.h"
                             ^
compilation terminated.
Makefile:27217: recipe for target 'src/x86_64-w64-mingw32-mkoctfile' failed
make[4]: *** [src/x86_64-w64-mingw32-mkoctfile] Error 1
make[4]: *** Waiting for unfinished jobs....
:

unistd-wrappers.h *IS* present in liboctave/wrappers

Thanks,
Phiilp




--
View this message in context: 
http://octave.1599824.n4.nabble.com/mxe-octave-build-fails-with-unistd-wrappers-h-56-8-error-pid-t-does-not-name-a-type-tp4677786p4677807.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]