octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44060] audiodevinfo fails to build on updated


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #44060] audiodevinfo fails to build on updated fedora 20
Date: Wed, 21 Jan 2015 15:59:54 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?44060>

                 Summary: audiodevinfo fails to build on updated fedora 20
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Wed 21 Jan 2015 03:59:53 PM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: JohnD
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

On a recent update of my fedora box, octave suddently started to fail building
audiodevinfo.

portaudio-19-17, alsa-lib-devel-1.0.27.2-2.

Error as below:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../libinterp -I..
-I/usr/include/alsa -I../../liboctave/cruft/misc -I../../liboctave/array
-I../liboctave/numeric -I../../liboctave/numeric -I../liboctave/operators
-I../../liboctave/operators -I../../liboctave/system -I../../liboctave/util
-I../../libinterp/octave-value -I../../libinterp/operators -Iparse-tree
-I../../libinterp/parse-tree -Icorefcn -I../../libinterp/corefcn -I../libgnu
-I../../libgnu -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT
dldfcn/dldfcn_audiodevinfo_la-audiodevinfo.lo -MD -MP -MF
dldfcn/.deps/dldfcn_audiodevinfo_la-audiodevinfo.Tpo -c
../../libinterp/dldfcn/audiodevinfo.cc  -fPIC -DPIC -o
dldfcn/.libs/dldfcn_audiodevinfo_la-audiodevinfo.o
In file included from ../../libinterp/octave-value/ov-fcn.h:35:0,
                 from ../../libinterp/octave-value/ov-builtin.h:28,
                 from ../../libinterp/corefcn/defun-int.h:28,
                 from ../../libinterp/corefcn/defun-dld.h:30,
                 from ../../libinterp/dldfcn/audiodevinfo.cc:35:
../../libinterp/corefcn/symtab.h: In static member function 'static bool
symbol_table::scope_id_cache::instance_ok()':
../../libinterp/corefcn/symtab.h:97:11: error: '::error' has not been
declared
           ::error ("unable to create scope_id_cache object!");
           ^
../../libinterp/corefcn/symtab.h: In member function 'void
symbol_table::scope_id_cache::do_free(symbol_table::scope_id)':
../../libinterp/corefcn/symtab.h:155:56: error: 'error' was not declared in
this scope
         error ("free_scope: scope %d not found!", scope);
                                                        ^
In file included from ../../libinterp/octave-value/ov-fcn.h:35:0,
                 from ../../libinterp/octave-value/ov-builtin.h:28,
                 from ../../libinterp/corefcn/defun-int.h:28,
                 from ../../libinterp/corefcn/defun-dld.h:30,
                 from ../../libinterp/dldfcn/audiodevinfo.cc:35:
../../libinterp/corefcn/symtab.h: In member function 'void
symbol_table::symbol_record::symbol_record_rep::mark_global()':
../../libinterp/corefcn/symtab.h:401:75: error: 'error' was not declared in
this scope
           error ("can't make persistent variable %s global", name.c_str ());
                                                                           ^
../../libinterp/corefcn/symtab.h: In member function 'void
symbol_table::symbol_record::symbol_record_rep::mark_persistent()':
../../libinterp/corefcn/symtab.h:408:75: error: 'error' was not declared in
this scope
           error ("can't make global variable %s persistent", name.c_str ())



It appears to be pulling error.h from alsa instead of the system error.h.
Modifying the flags to include AM_CPPFLAGS before the PORT_AUDIO_CPPFLAGS
makes it work again.

  






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44060>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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