octave-maintainers
[Top][All Lists]
Advanced

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

RE: Windows Octave compilation


From: John D
Subject: RE: Windows Octave compilation
Date: Tue, 15 Jul 2014 18:06:31 -0400

 

 

From: Jan Tomášek [mailto:address@hidden
Sent: Tuesday, July 15, 2014 8:50 AM
To: Tatsuro MATSUOKA
Cc: John D; John W. Eaton; address@hidden; PhilipNienhuis
Subject: Re: Windows Octave compilation

 

2014-07-15 2:22 GMT+02:00 Tatsuro MATSUOKA <address@hidden>:

----- Original Message -----

> ----- Original Message -----
>
>>>   The build failed at:
>>>
>>>   Failed to build package gnutls!
>>>   ------------------------------------------------------------
>>>   make[3]: *** [install] Error 2
>>>   make[3]: Leaving directory
>>>
>>
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gnutls/gnutls-3.2
>>>   .15/lib'
>>>   make[2]: *** [install-recursive] Error 1
>>>   make[2]: Leaving directory
>>>
>>
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gnutls/gnutls-3.2
>>>   .15'
>>>   make[1]: *** [build-only-gnutls] Error 2
>>>   make[1]: Leaving directory
>>>   `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave'
>>>   real    57m14.147s
>>>   user    1m57.653s
>>>   sys     10m42.394s
>>>   ------------------------------------------------------------
>>>   [log]    
>  /e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/log/gnutls
>>>
>>>
>>>   The log file is attached.
>>>
>>>   /bin/sh ../libtool  --tag=CXX   --mode=link g++ -I./includes
> -I./includes
>>  -g
>>>   -O2 -no-undefined -version-info 29:0:1
>>>   -L/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/usr/lib -o
>>>   libgnutlsxx.la -rpath
>>>   /e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/usr/lib
>>>   libgnutlsxx_la-gnutlsxx.lo libgnutls.la -lintl
>>>    -Le:/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/usr/lib
>>>   -lpcreposix 
>>>
>>>   (There were a lot of 'undefined references to' errors.)
>>>
>>>   Last time I could build gnutls.
>>>
>>>   Hmmmmm................
>>>
>>>   Tatsuro
>>>
>>>
>>>   --
>>>   Same happening here I believe due to the newly build gawk having
> issues
>>  when
>>>   passed filenames with \ in them during configure.
>>>   Try deleting awk.exe from the mxe-octave/bin folder and see if gnutls
> will
>>>   build again
>>
>>
>>  Sorry for late response. I have renamed awk.exe to awk.exe.orig in usr/bin
>>  directory.
>>  The build of gnutls went well.
>>
>>  Thanks!
>>
>>  Tatsuro
>
>
> This time the build fails at pstoedit
>
> Failed to build package pstoedit!
> ------------------------------------------------------------
> make[3]: *** [libpstoedit_la-dynload.lo] Error 1
> make[3]: Leaving directory
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-pstoedit/pstoedit-3.62/.build/src'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-pstoedit/pstoedit-3.62/.build'
> make[1]: *** [build-only-pstoedit] Error 2
> make[1]: Leaving directory
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave'
> real    8m50.839s
> user    0m20.291s
> sys     1m49.394s
> ------------------------------------------------------------
> [log]      /e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/log/pstoedit
>
> The log file is attached. 
> The origin of the error, very MS-win like functions, strcpy_s, and strcat_s.
> These can be replaced by strncpy and  strncat, respectively.
>

Sorry I have mislead.  MinGW-w64 (32 and 64 bit) has a definition verry MS like secure functions like (function name)_s.  The definition of in pstoedit and MinGW-w64 seems to be inconsistent.


I was able to build the unstable octave(4.1.0) on my mingw. But when I try to run it I have this error:

"The procedure entry point _ftelli64 could not be located in the dynamic link library msvcrt.dll"

 

 

You are trying to compile in mingw64 or mingw32?

 

When trying to run the native octave, how did you run octave? From the command line?


reply via email to

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