|
From: | Jan Tomášek |
Subject: | Re: Windows Octave compilation |
Date: | Tue, 15 Jul 2014 14:50:24 +0200 |
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.----- 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.
>
[Prev in Thread] | Current Thread | [Next in Thread] |