octave-maintainers
[Top][All Lists]
Advanced

[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: Fri, 24 Aug 2012 22:53:49 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

John W. Eaton wrote:
On 24-Aug-2012, Philip Nienhuis wrote:

| ../../octave/liboctave/lo-cutils.c: In function 'octave_wifsignaled':
| ../../octave/liboctave/lo-cutils.c:115:5: error: 'liboctave_warning_handler'
| undeclared (f
| irst use in this function)
| ../../octave/liboctave/lo-cutils.c:115:5: note: each undeclared identifier
| is reported onl
| y once for each function it appears in
| ../../octave/liboctave/lo-cutils.c:108:40: warning: unused parameter
| 'status'
| ../../octave/liboctave/lo-cutils.c: In function 'octave_wtermsig':
| ../../octave/liboctave/lo-cutils.c:129:5: error: 'liboctave_warning_handler'
| undeclared (f
| irst use in this function)
| ../../octave/liboctave/lo-cutils.c:122:37: warning: unused parameter
| 'status'
| ../../octave/liboctave/lo-cutils.c: In function 'octave_wcoredump':
| ../../octave/liboctave/lo-cutils.c:143:5: error: 'liboctave_warning_handler'
| undeclared (f
| irst use in this function)
| ../../octave/liboctave/lo-cutils.c:136:38: warning: unused parameter
| 'status'
| ../../octave/liboctave/lo-cutils.c: In function 'octave_wifstopped':
| ../../octave/liboctave/lo-cutils.c:157:5: error: 'liboctave_warning_handler'
| undeclared (f
| irst use in this function)
| ../../octave/liboctave/lo-cutils.c:150:39: warning: unused parameter
| 'status'
| ../../octave/liboctave/lo-cutils.c: In function 'octave_wstopsig':
| ../../octave/liboctave/lo-cutils.c:171:5: error: 'liboctave_warning_handler'
| undeclared (f
| irst use in this function)
| ../../octave/liboctave/lo-cutils.c:164:37: warning: unused parameter
| 'status'
| ../../octave/liboctave/lo-cutils.c: In function 'octave_wifcontinued':
| ../../octave/liboctave/lo-cutils.c:185:5: error: 'liboctave_warning_handler'
| undeclared (f
| irst use in this function)
| ../../octave/liboctave/lo-cutils.c:178:41: warning: unused parameter
| 'status'
| make[3]: *** [liboctave_la-lo-cutils.lo] Error 1
| make[3]: Leaving directory `/home/Philip/octave/oct-3.7/liboctave'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/Philip/octave/oct-3.7/liboctave'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/Philip/octave/oct-3.7'
| make: *** [all] Error 2
|
| I see that liboctave_warning_handler is declared in lo-error.h and used in
| lo-error.c, both from libcruft. But as seen in the output above, that has
| already been built.
|
| What can I do to get past this build error?

Oops, that was my fault for not testing with one of these macros (like
WIFSIGNALED) undefined.  I checked in a change and I think it should
work now.

Indeed it works now, thanks.

But now I'm back at:


:
In file included from lex.ll:79:0:
../../octave/libinterp/parse-tree/octave.gperf: In static member function 'static unsigned int octave_kw_hash::hash(const char*, unsigned int)': ../../octave/libinterp/parse-tree/octave.gperf:130:49: warning: use of old-style cast ../../octave/libinterp/parse-tree/octave.gperf:136:49: warning: use of old-style cast
In file included from parse-tree/lex.cc:1559:0:
../libgnu/unistd.h: At global scope:
../libgnu/unistd.h:1273:1: error: explicit qualification in declaration of 'gnulib::isatty'

(see
http://octave.1599824.n4.nabble.com/MinGW-libgnu-unistd-h-1259-1-error-explicit-qualification-in-declaration-of-gnulib-isatty-td4630511.html
   and
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2012-June/028534.html
)

Hmmm it is an old problem, I forgot about my June 4 post... I probably gave up the Octave-MinGW build after that...

Philip


reply via email to

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