bugGNU Octave - Bugs: bug #49039, build fails when portaudio v18 is...

 
 

bug #49039: build fails when portaudio v18 is installed

Submitter:  Hartmut <hardy>
Submitted:  Fri 09 Sep 2016 05:56:32 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  mtmiller
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.0-rc1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 10 Sep 2016 02:36:42 PM UTC, comment #5: 

I have compiled a recent version of the default tree in the Octave repository (hg id b0caa61934fe), this includes Rik's patch.

And now the build process works fine on my (unchanged) Ubuntu 14.04 machine.

So this patch seems to work fine, thanks!

Hartmut <hardy>
Fri 09 Sep 2016 11:36:25 PM UTC, comment #4: 

This is now fixed on the default branch (and will be fixed in 4.2.0-rc2). Tested with portaudio v19 from Debian unstable repository and with portaudio v18 from Debian wheezy repository.

http://hg.savannah.gnu.org/hgweb/octave/rev/30002d6568c4

Mike Miller <mtmiller>
Group Member
Fri 09 Sep 2016 10:39:27 PM UTC, comment #3: 

This might be due to a change I made in configure not too long ago, I'll take a look at this. I should be able to install the old and new versions of portaudio on my system and make sure the build knows the difference.

Mike Miller <mtmiller>
Group Member
Fri 09 Sep 2016 06:25:11 PM UTC, comment #2: 

The following packages ARE installed on my Ubuntu 14.04 sytem:

  • libportaudio0 18.1-7.1
  • libportaudio-dev 18.1-7.1
  • libportaudio2 19+svn20140130-1
  • libportaudiocpp0 19+svn20140130-1



The following packages ARE NOT installed:

  • portaudio19-dev


Sorry, but I am not enough of an Linux expert to tell why Octave comes to wrong conclusions about my installed portaudio packages.

When I remember right, older Octave versions told me that portaudio was NOT found at all (let me know if you want me to again run the configure script of an older Octave release).

Hartmut <hardy>
Fri 09 Sep 2016 06:04:14 PM UTC, comment #1: 

Thanks for your bug report. The relevant library is actually portaudio here, not sndfile. The audiodevinfo.cc file should be guarded by HAVE_PORTAUDIO, which means it is only compiled if the portaudio header files and libraries are present. Since configure did not warn you about portaudio, and is in fact listed as found, can you determine why the header files are not found on your system or why they are incompatible with what Octave expects them to contain?

On Ubuntu the packages should be called portaudio19-dev and libportaudio2.

Mike Miller <mtmiller>
Group Member
Fri 09 Sep 2016 05:56:32 PM UTC, original submission:  

I have compiled the current Octave-4.2.0-rc1 tarball on my Ubuntu 14.04 linux machine. This worked fine several times before (some months ago) but now the build process fails because of the missing package "sndfile library" that is really not installed on my Ubuntu system.

The details are following:

Those are the commands I used in order to do the compilation:

cd /opt/octave-4.2.0-rc1/
export JAVA_HOME=/usr/lib/jvm/default-java
./configure --prefix=/opt/octave-4.2.0-rc1 --disable-docs
make -j 2

(I have used the "--disable-docs" option because of a bug in the osmesa package in Ubuntu 14.04.)

This is the final output of the configure command (the very last lines are most interesting):

[...]
configure:
Octave is now configured for x86_64-pc-linux-gnu

  Source directory:            .
  Installation prefix:         /opt/octave-4.2.0-rc1
  C compiler:                  gcc -std=gnu11  -pthread -fopenmp  -Wall -W -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  C++ compiler:                g++ -std=gnu++11  -pthread -fopenmp  -Wall -W -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  Fortran compiler:            gfortran -g -O2
  Fortran libraries:            -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lgfortran -lm -lquadmath
  Lex libraries:
  LIBS:                        -lutil -lm
  Extra LDFLAGS:

  AMD CPPFLAGS:
  AMD LDFLAGS:
  AMD libraries:               -lamd
  ARPACK CPPFLAGS:
  ARPACK LDFLAGS:
  ARPACK libraries:            -larpack
  BLAS libraries:              -lcblas -lf77blas -latlas
  BZ2 CPPFLAGS:
  BZ2 LDFLAGS:
  BZ2 libraries:               -lbz2
  CAMD CPPFLAGS:
  CAMD LDFLAGS:
  CAMD libraries:              -lcamd
  CARBON libraries:
  CCOLAMD CPPFLAGS:
  CCOLAMD LDFLAGS:
  CCOLAMD libraries:           -lccolamd
  CHOLMOD CPPFLAGS:
  CHOLMOD LDFLAGS:
  CHOLMOD libraries:           -lcholmod
  COLAMD CPPFLAGS:
  COLAMD LDFLAGS:
  COLAMD libraries:            -lcolamd
  CURL CPPFLAGS:
  CURL LDFLAGS:
  CURL libraries:              -lcurl
  CXSPARSE CPPFLAGS:
  CXSPARSE LDFLAGS:
  CXSPARSE libraries:          -lcxsparse
  DL libraries:                -ldl
  FFTW3 CPPFLAGS:
  FFTW3 LDFLAGS:
  FFTW3 libraries:             -lfftw3_threads -lfftw3
  FFTW3F CPPFLAGS:
  FFTW3F LDFLAGS:
  FFTW3F libraries:            -lfftw3f_threads -lfftw3f
  FLTK CPPFLAGS:                -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
  FLTK LDFLAGS:                -Wl,-Bsymbolic-functions -lfltk_gl -lfltk -lX11
  FLTK libraries:
  fontconfig CPPFLAGS:         -I/usr/include/freetype2
  fontconfig libraries:        -lfontconfig -lfreetype
  FreeType2 CPPFLAGS:          -I/usr/include/freetype2
  FreeType2 libraries:         -lfreetype
  GLPK CPPFLAGS:
  GLPK LDFLAGS:
  GLPK libraries:              -lglpk
  HDF5 CPPFLAGS:
  HDF5 LDFLAGS:
  HDF5 libraries:              -lhdf5
  Java home:                   /usr/lib/jvm/default-java
  Java JVM path:               /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
  Java CPPFLAGS:               -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux
  Java libraries:
  LAPACK libraries:            -llapack
  LLVM CPPFLAGS:
  LLVM LDFLAGS:
  LLVM libraries:
  Magick++ CPPFLAGS:           -I/usr/include/GraphicsMagick
  Magick++ LDFLAGS:
  Magick++ libraries:          -lGraphicsMagick++ -lGraphicsMagick
  OPENGL libraries:            -lGL -lGLU
  OSMesa CPPFLAGS:
  OSMesa LDFLAGS:
  OSMesa libraries:            -lOSMesa
  PCRE CPPFLAGS:
  PCRE libraries:              -lpcre
  PortAudio CPPFLAGS:
  PortAudio LDFLAGS:
  PortAudio libraries:         -lportaudio
  PTHREAD flags:               -pthread
  PTHREAD libraries:
  QHULL CPPFLAGS:
  QHULL LDFLAGS:
  QHULL libraries:             -lqhull
  QRUPDATE CPPFLAGS:
  QRUPDATE LDFLAGS:
  QRUPDATE libraries:          -lqrupdate
  Qt CPPFLAGS:                 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL
  Qt LDFLAGS:
  Qt libraries:                -lQtNetwork -lQtOpenGL -lQtGui -lQtCore   -lqscintilla2
  Qt moc:                      moc-qt4
  Qt uic:                      uic-qt4
  Qt rcc:                      rcc -qt4
  Qt lrelease:                 lrelease-qt4
  READLINE libraries:          -lreadline
  Sndfile CPPFLAGS:
  Sndfile LDFLAGS:
  Sndfile libraries:
  TERM libraries:              -lncurses
  UMFPACK CPPFLAGS:
  UMFPACK LDFLAGS:
  UMFPACK libraries:           -lumfpack
  X11 include flags:
  X11 libraries:               -lX11
  Z CPPFLAGS:
  Z LDFLAGS:
  Z libraries:                 -lz

  Default pager:               less
  gnuplot:                     gnuplot

  Build Octave Qt GUI:                yes
  JIT compiler for loops:             no
  Build Java interface:               yes
  Do internal array bounds checking:  no
  Build static libraries:             no
  Build shared libraries:             yes
  Dynamic Linking:                    yes (dlopen)
  Include support for GNU readline:   yes
  64-bit array dims and indexing:     no
  OpenMP SMP multithreading:          yes
  Build cross tools:                  no
  Build docs:                         no
  Truncate intermediate FP results:   yes

configure: WARNING: building documentation disabled; make dist will fail
configure: WARNING: sndfile library not found.  The audioinfo, audioread, and audiowrite functions will be disabled.
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.

Despite this "WARNING", Octave used to compile fine before, and also used to pass all tests eventually. It used to only not have the mentioned audio features.

But now the build process FAILs and gives me this output:

[...]
  CXX      libinterp/dldfcn/libinterp_dldfcn___init_gnuplot___la-__init_gnuplot__.lo
  CXX      libinterp/dldfcn/libinterp_dldfcn___osmesa_print___la-__osmesa_print__.lo
  CXX      libinterp/dldfcn/libinterp_dldfcn___voronoi___la-__voronoi__.lo
  CXX      libinterp/dldfcn/libinterp_dldfcn_amd_la-amd.lo
  CXX      libinterp/dldfcn/libinterp_dldfcn_audiodevinfo_la-audiodevinfo.lo
libinterp/dldfcn/audiodevinfo.cc: In function ‘octave_value_list Faudiodevinfo(const octave_value_list&, int)’:
libinterp/dldfcn/audiodevinfo.cc:119:40: error: ‘Pa_GetDeviceCount’ was not declared in this scope
   int num_devices = Pa_GetDeviceCount ();
                                        ^
libinterp/dldfcn/audiodevinfo.cc:162:13: error: ‘PaHostApiInfo’ does not name a type
       const PaHostApiInfo *api_info = Pa_GetHostApiInfo (device_info->hostApi);
             ^
libinterp/dldfcn/audiodevinfo.cc:164:28: error: ‘api_info’ was not declared in this scope
       const char *driver = api_info ? api_info->name : "";
                            ^
libinterp/dldfcn/audiodevinfo.cc:293:11: error: ‘PaStreamParameters’ was not declared in this scope
           PaStreamParameters stream_parameters;
           ^
libinterp/dldfcn/audiodevinfo.cc:293:30: error: expected ‘;’ before ‘stream_parameters’
           PaStreamParameters stream_parameters;
                              ^
libinterp/dldfcn/audiodevinfo.cc:294:11: error: ‘stream_parameters’ was not declared in this scope
           stream_parameters.device = i;
           ^
libinterp/dldfcn/audiodevinfo.cc:313:28: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultLowInputLatency’
             = device_info->defaultLowInputLatency;
                            ^
libinterp/dldfcn/audiodevinfo.cc:322:70: error: ‘Pa_IsFormatSupported’ was not declared in this scope
               err = Pa_IsFormatSupported (0, &stream_parameters, rate);
                                                                      ^
libinterp/dldfcn/audiodevinfo.cc:324:26: error: ‘paFormatIsSupported’ was not declared in this scope
               if (err == paFormatIsSupported)
                          ^
libinterp/dldfcn/audiodevinfo.cc:335:70: error: ‘Pa_IsFormatSupported’ was not declared in this scope
               err = Pa_IsFormatSupported (&stream_parameters, 0, rate);
                                                                      ^
libinterp/dldfcn/audiodevinfo.cc:336:26: error: ‘paFormatIsSupported’ was not declared in this scope
               if (err == paFormatIsSupported)
                          ^
libinterp/dldfcn/audiodevinfo.cc:353:7: error: ‘PaStreamParameters’ was not declared in this scope
       PaStreamParameters stream_parameters;
       ^
libinterp/dldfcn/audiodevinfo.cc:353:26: error: expected ‘;’ before ‘stream_parameters’
       PaStreamParameters stream_parameters;
                          ^
libinterp/dldfcn/audiodevinfo.cc:354:7: error: ‘stream_parameters’ was not declared in this scope
       stream_parameters.device = id;
       ^
libinterp/dldfcn/audiodevinfo.cc:368:24: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultLowInputLatency’
         = device_info->defaultLowInputLatency;
                        ^
libinterp/dldfcn/audiodevinfo.cc:378:66: error: ‘Pa_IsFormatSupported’ was not declared in this scope
           err = Pa_IsFormatSupported (0, &stream_parameters, rate);
                                                                  ^
libinterp/dldfcn/audiodevinfo.cc:379:22: error: ‘paFormatIsSupported’ was not declared in this scope
           if (err == paFormatIsSupported)
                      ^
libinterp/dldfcn/audiodevinfo.cc:392:66: error: ‘Pa_IsFormatSupported’ was not declared in this scope
           err = Pa_IsFormatSupported (&stream_parameters, 0, rate);
                                                                  ^
libinterp/dldfcn/audiodevinfo.cc:393:22: error: ‘paFormatIsSupported’ was not declared in this scope
           if (err == paFormatIsSupported)
                      ^
libinterp/dldfcn/audiodevinfo.cc: At global scope:
libinterp/dldfcn/audiodevinfo.cc:523:3: error: ‘PaStreamParameters’ does not name a type
   PaStreamParameters output_parameters;
   ^
libinterp/dldfcn/audiodevinfo.cc:533:29: error: ‘PaStreamCallbackTimeInfo’ does not name a type
                       const PaStreamCallbackTimeInfo *,
                             ^
libinterp/dldfcn/audiodevinfo.cc:533:54: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
                       const PaStreamCallbackTimeInfo *,
                                                      ^
libinterp/dldfcn/audiodevinfo.cc:534:23: error: ‘PaStreamCallbackFlags’ has not been declared
                       PaStreamCallbackFlags, void *data)
                       ^
libinterp/dldfcn/audiodevinfo.cc:637:32: error: ‘PaStreamCallbackTimeInfo’ does not name a type
                          const PaStreamCallbackTimeInfo*,
                                ^
libinterp/dldfcn/audiodevinfo.cc:637:56: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
                          const PaStreamCallbackTimeInfo*,
                                                        ^
libinterp/dldfcn/audiodevinfo.cc:638:26: error: ‘PaStreamCallbackFlags’ has not been declared
                          PaStreamCallbackFlags, void *data)
                          ^
libinterp/dldfcn/audiodevinfo.cc: In function ‘int portaudio_play_callback(const void*, void*, long unsigned int, const int*, int, void*)’:
libinterp/dldfcn/audiodevinfo.cc:672:26: error: ‘paComplete’ was not declared in this scope
                   return paComplete;
                          ^
libinterp/dldfcn/audiodevinfo.cc:695:26: error: ‘paComplete’ was not declared in this scope
                   return paComplete;
                          ^
libinterp/dldfcn/audiodevinfo.cc:720:26: error: ‘paComplete’ was not declared in this scope
                   return paComplete;
                          ^
libinterp/dldfcn/audiodevinfo.cc:760:20: error: ‘paComplete’ was not declared in this scope
             return paComplete;
                    ^
libinterp/dldfcn/audiodevinfo.cc:779:20: error: ‘paComplete’ was not declared in this scope
             return paComplete;
                    ^
libinterp/dldfcn/audiodevinfo.cc:798:20: error: ‘paComplete’ was not declared in this scope
             return paComplete;
                    ^
libinterp/dldfcn/audiodevinfo.cc:809:10: error: ‘paContinue’ was not declared in this scope
   return paContinue;
          ^
libinterp/dldfcn/audiodevinfo.cc: In constructor ‘audioplayer::audioplayer()’:
libinterp/dldfcn/audiodevinfo.cc:822:36: error: class ‘audioplayer’ does not have any field named ‘output_parameters’
     left (), right (), stream (0), output_parameters (), type ()
                                    ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audioplayer::init_fn()’:
libinterp/dldfcn/audiodevinfo.cc:854:26: error: ‘Pa_GetDeviceCount’ was not declared in this scope
   if (Pa_GetDeviceCount () < 1)
                          ^
libinterp/dldfcn/audiodevinfo.cc:860:41: error: ‘Pa_GetDefaultOutputDevice’ was not declared in this scope
     device = Pa_GetDefaultOutputDevice ();
                                         ^
libinterp/dldfcn/audiodevinfo.cc:862:3: error: ‘output_parameters’ was not declared in this scope
   output_parameters.device = device;
   ^
libinterp/dldfcn/audiodevinfo.cc:873:34: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultHighOutputLatency’
     = device_info ? device_info->defaultHighOutputLatency : -1;
                                  ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audioplayer::init()’:
libinterp/dldfcn/audiodevinfo.cc:890:26: error: ‘Pa_GetDeviceCount’ was not declared in this scope
   if (Pa_GetDeviceCount () < 1)
                          ^
libinterp/dldfcn/audiodevinfo.cc:896:41: error: ‘Pa_GetDefaultOutputDevice’ was not declared in this scope
     device = Pa_GetDefaultOutputDevice ();
                                         ^
libinterp/dldfcn/audiodevinfo.cc:898:3: error: ‘output_parameters’ was not declared in this scope
   output_parameters.device = device;
   ^
libinterp/dldfcn/audiodevinfo.cc:917:34: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultHighOutputLatency’
     = device_info ? device_info->defaultHighOutputLatency : -1;
                                  ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audioplayer::playblocking()’:
libinterp/dldfcn/audiodevinfo.cc:1092:38: error: ‘output_parameters’ was not declared in this scope
   err = Pa_OpenStream (&stream, 0, &(output_parameters), get_fs (),
                                      ^
libinterp/dldfcn/audiodevinfo.cc:1117:56: error: ‘Pa_WriteStream’ was not declared in this scope
       err = Pa_WriteStream (stream, buffer, buffer_size);
                                                        ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audioplayer::play()’:
libinterp/dldfcn/audiodevinfo.cc:1131:40: error: ‘output_parameters’ was not declared in this scope
     err = Pa_OpenStream (&stream, 0, &(output_parameters),
                                        ^
libinterp/dldfcn/audiodevinfo.cc:1135:40: error: ‘output_parameters’ was not declared in this scope
     err = Pa_OpenStream (&stream, 0, &(output_parameters),
                                        ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audioplayer::stop()’:
libinterp/dldfcn/audiodevinfo.cc:1186:42: error: ‘Pa_IsStreamStopped’ was not declared in this scope
   if (! Pa_IsStreamStopped (get_stream ()))
                                          ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘bool audioplayer::isplaying()’:
libinterp/dldfcn/audiodevinfo.cc:1207:34: error: ‘Pa_IsStreamActive’ was not declared in this scope
   err = Pa_IsStreamActive (stream);
                                  ^
libinterp/dldfcn/audiodevinfo.cc: At global scope:
libinterp/dldfcn/audiodevinfo.cc:1280:3: error: ‘PaStreamParameters’ does not name a type
   PaStreamParameters input_parameters;
   ^
libinterp/dldfcn/audiodevinfo.cc:1290:31: error: ‘PaStreamCallbackTimeInfo’ does not name a type
                         const PaStreamCallbackTimeInfo *,
                               ^
libinterp/dldfcn/audiodevinfo.cc:1290:56: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
                         const PaStreamCallbackTimeInfo *,
                                                        ^
libinterp/dldfcn/audiodevinfo.cc:1291:25: error: ‘PaStreamCallbackFlags’ has not been declared
                         PaStreamCallbackFlags, void *data)
                         ^
libinterp/dldfcn/audiodevinfo.cc:1372:34: error: ‘PaStreamCallbackTimeInfo’ does not name a type
                            const PaStreamCallbackTimeInfo *,
                                  ^
libinterp/dldfcn/audiodevinfo.cc:1372:59: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
                            const PaStreamCallbackTimeInfo *,
                                                           ^
libinterp/dldfcn/audiodevinfo.cc:1373:28: error: ‘PaStreamCallbackFlags’ has not been declared
                            PaStreamCallbackFlags, void *data)
                            ^
libinterp/dldfcn/audiodevinfo.cc: In function ‘int portaudio_record_callback(const void*, void*, long unsigned int, const int*, int, void*)’:
libinterp/dldfcn/audiodevinfo.cc:1442:12: error: ‘paComplete’ was not declared in this scope
     return paComplete;
            ^
libinterp/dldfcn/audiodevinfo.cc:1444:10: error: ‘paContinue’ was not declared in this scope
   return paContinue;
          ^
libinterp/dldfcn/audiodevinfo.cc: In constructor ‘audiorecorder::audiorecorder()’:
libinterp/dldfcn/audiodevinfo.cc:1457:36: error: class ‘audiorecorder’ does not have any field named ‘input_parameters’
     left (), right (), stream (0), input_parameters (), type ()
                                    ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audiorecorder::init()’:
libinterp/dldfcn/audiodevinfo.cc:1489:26: error: ‘Pa_GetDeviceCount’ was not declared in this scope
   if (Pa_GetDeviceCount () < 1)
                          ^
libinterp/dldfcn/audiodevinfo.cc:1495:40: error: ‘Pa_GetDefaultInputDevice’ was not declared in this scope
     device = Pa_GetDefaultInputDevice ();
                                        ^
libinterp/dldfcn/audiodevinfo.cc:1497:3: error: ‘input_parameters’ was not declared in this scope
   input_parameters.device = device;
   ^
libinterp/dldfcn/audiodevinfo.cc:1508:34: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultHighInputLatency’
     = device_info ? device_info->defaultHighInputLatency : -1;
                                  ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘bool audiorecorder::isrecording()’:
libinterp/dldfcn/audiodevinfo.cc:1662:34: error: ‘Pa_IsStreamActive’ was not declared in this scope
   err = Pa_IsStreamActive (stream);
                                  ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audiorecorder::record()’:
libinterp/dldfcn/audiodevinfo.cc:1683:39: error: ‘input_parameters’ was not declared in this scope
       err = Pa_OpenStream (&stream, &(input_parameters), 0,
                                       ^
libinterp/dldfcn/audiodevinfo.cc:1689:39: error: ‘input_parameters’ was not declared in this scope
       err = Pa_OpenStream (&stream, &(input_parameters), 0,
                                       ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audiorecorder::recordblocking(float)’:
libinterp/dldfcn/audiodevinfo.cc:1714:35: error: ‘input_parameters’ was not declared in this scope
   err = Pa_OpenStream (&stream, &(input_parameters), 0,
                                   ^
libinterp/dldfcn/audiodevinfo.cc:1732:56: error: ‘Pa_ReadStream’ was not declared in this scope
       Pa_ReadStream (get_stream (), buffer, buffer_size);
                                                        ^
libinterp/dldfcn/audiodevinfo.cc: In member function ‘void audiorecorder::stop()’:
libinterp/dldfcn/audiodevinfo.cc:1772:42: error: ‘Pa_IsStreamStopped’ was not declared in this scope
   if (! Pa_IsStreamStopped (get_stream ()))
                                          ^
  CXX      libinterp/dldfcn/libinterp_dldfcn_audioread_la-audioread.lo
libinterp/dldfcn/audiodevinfo.cc: In function ‘int portaudio_play_callback(const void*, void*, long unsigned int, const int*, int, void*)’:
libinterp/dldfcn/audiodevinfo.cc:810:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
libinterp/dldfcn/audiodevinfo.cc: In function ‘int portaudio_record_callback(const void*, void*, long unsigned int, const int*, int, void*)’:
libinterp/dldfcn/audiodevinfo.cc:1445:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [libinterp/dldfcn/libinterp_dldfcn_audiodevinfo_la-audiodevinfo.lo] Fehler 1
make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
make[2]: Verzeichnis »/opt/octave-4.2.0-rc1« wird verlassen
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis »/opt/octave-4.2.0-rc1« wird verlassen
make: *** [all] Fehler 2


Please let me know if you want me to try other things (different configure options?) or need more information on the installed packages on my Ubuntu system.

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by hardy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-09 mtmiller StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2016-09-09 mtmiller Summarybuild fails when sndfile library is missing build fails when portaudio v18 is installed
    2016-09-09 mtmiller Assigned toNone mtmiller
    2016-09-09 mtmiller StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code