Opened 11 years ago
Closed 11 years ago
#6122 closed defect (fixed)
alsa-plugins-1.0.28 will not build with Speex-1.2rc2
| Reported by: | Wayne Blaszczyk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.7 |
| Component: | BOOK | Version: | SVN |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The following error occurs during make:
make[2]: Leaving directory '/sources/alsa-plugins-1.0.28/pph'
Making all in speex
make[2]: Entering directory '/sources/alsa-plugins-1.0.28/speex'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_speex.lo -MD -MP -MF .deps/pcm_speex.Tpo -c -o pcm_speex.lo pcm_speex.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_speex.lo -MD -MP -MF .deps/pcm_speex.Tpo -c pcm_speex.c -fPIC -DPIC -o .libs/pcm_speex.o
In file included from /usr/include/speex/speexdsp_types.h:122:0,
from /usr/include/speex/speex_preprocess.h:46,
from pcm_speex.c:23:
/usr/include/speex/speexdsp_config_types.h:13:9: error: unknown type name 'uint16_t'
typedef uint16_t spx_uint16_t;
^
/usr/include/speex/speexdsp_config_types.h:15:9: error: unknown type name 'uint32_t'
typedef uint32_t spx_uint32_t;
^
Makefile:355: recipe for target 'pcm_speex.lo' failed
make[2]: *** [pcm_speex.lo] Error 1
make[2]: Leaving directory '/sources/alsa-plugins-1.0.28/speex'
Makefile:351: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/alsa-plugins-1.0.28'
Makefile:282: recipe for target 'all' failed
make: *** [all] Error 2
Change History (3)
comment:1 by , 11 years ago
comment:3 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Try sed -i "/speex_preprocess/i#include <stdint.h>" speex/pcm_speex.c