Closed f1f3b4d8adca28ac closed 12 years ago
portaudio.h and samplerate.h were in src directory. fixed within this issue.
khz@s20-khz:~/download/wspr/8cH9azbsFifZ-wspr-44a7ec1/wspr-3.0$ cat config.h /* config.h. Generated from config.h.in by configure. / / config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <dev/ppbus/ppbconf.h> header file. / / #undef HAVE_DEV_PPBUS_PPBCONF_H */
/* Define to 1 if you have the <dev/ppbus/ppi.h> header file. / / #undef HAVE_DEV_PPBUS_PPI_H */
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the `gettimeofday' function. */
/* Define to 1 if you have the
/* Define to 1 if you have the `fftw3f' library (-lfftw3f). */
/* Define to 1 if you have the
/* Define to 1 if you have the `portaudio' library (-lportaudio). */
/* Define to 1 if you have the `samplerate' library (-lsamplerate). */
/* Define to 1 if you have the
/* Define to 1 if you have the <linux/parport.h> header file. */
/* Define to 1 if you have the <linux/ppdev.h> header file. */
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the `strchr' function. */
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. / / #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. / / #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
/* Define to 1 if you have the <sys/resource.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
/* Define to 1 if you have the <sys/syslog.h> header file. */
/* Define to 1 if you have the <sys/time.h> header file. */
/* Define to 1 if you have the <sys/types.h> header file. */
/* Define to 1 if you have the <sys/wait.h> header file. */
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Define to 1 if you have the
/* Name of package */
/* Define to the address where bug reports for this package should be sent. */
/* Define to the full name of this package. */
/* Define to the full name and version of this package. */
/* Define to the one symbol short name of this package. */
/* Define to the home page for this package. */
/* Define to the version of this package. */
/* Define to 1 if you have the ANSI C header files. */
/* Define to 1 if you can safely include both <sys/time.h> and
/* Version number of package */
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
Here on debian squeeze
gcc -Wall -I../ -I/usr/local/include -I/opt/local/include -g -O2 -DBIGSYM=1 -fPIC -DHAVE_CONFIG_H -c padevsub.c
Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-8)
Linux debian 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686 GNU/Linux
$ cc -Wall -I../ -I/usr/local/include -I/opt/local/include -g -O2 -DBIGSYM=1 -fPIC -DHAVE_CONFIGH -c padevsub.c padevsub.c: In function ‘padevsub’: padevsub.c:26: error: ‘PaStreamParameters’ undeclared (first use in this function) padevsub.c:26: error: (Each undeclared identifier is reported only once padevsub.c:26: error: for each function it appears in.) padevsub.c:26: error: expected ‘;’ before ‘inputParameters’ padevsub.c:27: error: expected ‘;’ before ‘outputParameters’ padevsub.c:31: warning: implicit declaration of function ‘Pa_GetDeviceCount’ padevsub.c:40: warning: implicit declaration of function ‘Pa_GetDefaultInputDevice’ padevsub.c:46: warning: implicit declaration of function ‘Pa_GetDefaultOutputDevice’ padevsub.c:60: error: ‘inputParameters’ undeclared (first use in this function) padevsub.c:73: error: ‘outputParameters’ undeclared (first use in this function)
Does this help?
apt-get install libfftw3-dev portaudio19-dev libsamplerate0-dev python-numpy libfftw3-3 libportaudio2 python-tk python-imaging-tk python-numpy python2.6-dev
Solved. Adjusted dependencies in debian source package control file.
cc -I../ -I/usr/local/include -I/opt/local/include -g -O2 -DBIGSYM=1 -fPIC -DHAVE_CONFIGH -c padevsub.c padevsub.c: In function ‘padevsub’: padevsub.c:26: error: ‘PaStreamParameters’ undeclared (first use in this function) padevsub.c:26: error: (Each undeclared identifier is reported only once padevsub.c:26: error: for each function it appears in.) padevsub.c:26: error: expected ‘;’ before ‘inputParameters’ padevsub.c:27: error: expected ‘;’ before ‘outputParameters’ padevsub.c:60: error: ‘inputParameters’ undeclared (first use in this function) padevsub.c:73: error: ‘outputParameters’ undeclared (first use in this function)