[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW build error: 'liboctave_warning_handler' undeclared
From: |
Philip Nienhuis |
Subject: |
Re: MinGW build error: 'liboctave_warning_handler' undeclared |
Date: |
Sat, 25 Aug 2012 05:05:58 -0700 (PDT) |
Philip Nienhuis wrote
>
>
> Daniel Sebald wrote
>>
>> On 08/24/2012 04:18 PM, Philip Nienhuis wrote:
>>> John W. Eaton wrote:
>>
>>>> I can try to take a look at it if you add -save-temps to the command
>>>> that compiles lex.cc and send me the resulting lex.ii file.
>>>
>>> I couldn't find lex.cc in the current sources. Only lex.h and lex.ll are
>>> present. I checked this on a recently checked out fresh hg clone.
>>>
>>> Extremely intriguing as lex.cc is explicitly mentioned in the error
>>> mesaage itself ("In file included from parse-tree/lex.cc:").
>>
>> Philip,
>>
>> lex.cc is generated from lex.ll as part of the build process. Search
>> for lex.cc the subdirectories associated with your object code. I
>> assume that is where temporary files will be as well.
>>
>
> Thanks, that explains a thing or two.
>
> Before trying John's suggestion I'll first try a few other options that
> worked in MinGW for earlier Octave versions.
>
Right, build continues but crashes later on with Qt4 errors. I'll start a
new thread for that.
My changes to get the MinGW build until this new error (BTW using Tatsuro's
dependencies and build stuff) are simple:
1. in <SRCDIR>:
libinterp/interpfcn/file-io.cc
libinterp/interpfcn/oct-hist.cc
libinterp/interpfcn/sysdep.cc
liboctave/oct-env.cc
=> repeat the
#include <unistd.h>
line so that it appears twice (seems and old MinGW/gnulib issue)
2. in <BUILDDIR>/libinterp/parse-tree/lex.cc (generated),
a. add:
#include <io.h>
b. comment out L.1300: #define isatty GNULIB_NAMESPACE::isatty"
The former used to be needed in file-io.cc as well, but apparently no more.
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/MinGW-build-error-liboctave-warning-handler-undeclared-tp4643218p4643297.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/24
- MinGW build error: 'liboctave_warning_handler' undeclared, John W. Eaton, 2012/08/24
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/24
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, John W. Eaton, 2012/08/24
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/24
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Daniel J Sebald, 2012/08/24
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/25
- Re: MinGW build error: 'liboctave_warning_handler' undeclared,
Philip Nienhuis <=
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, John W. Eaton, 2012/08/25
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/25
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, John W. Eaton, 2012/08/25
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/25
- Re: MinGW build error: 'liboctave_warning_handler' undeclared, Philip Nienhuis, 2012/08/26