[speex-dev] Re: speex 1.1.4 compile fails/vq.h parse error

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Wed Jan 21 08:42:40 PST 2004


It's not really documented, but when you compile with --enable-sse, you
need to add -march=pentium3 to the compile switches. That's actually a
gcc requirement.

        Jean-Marc

Le mer 21/01/2004 à 04:22, war a écrit :
> gcc-3.2.2 + slack 9 + p4 2.6ghz (has sse/2)
> 
> ./configure --prefix=/app/speex-1.1.4 --enable-shared --enable-sse
> --with-ogg-dir=/app/libogg-1.1
> 
> 
> checking for libogg... Ogg includes in /app/libogg-1.1/include
> Ogg libraries in /app/libogg-1.1/lib
> checking for sin in -lm... yes
> checking for getopt_long in -lgnugetopt... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating libspeex/Makefile
> config.status: creating src/Makefile
> config.status: creating doc/Makefile
> config.status: creating Speex.spec
> config.status: creating win32/Makefile
> config.status: creating win32/libspeex/Makefile
> config.status: creating win32/speexenc/Makefile
> config.status: creating win32/speexdec/Makefile
> config.status: executing depfiles commands
> Type "make; make install" to compile and install Speex
> ESTIMATED COMPILE TIME: 0:19.70.
> Making all in libspeex
> make[1]: Entering directory `/home/war/speex-1.1.4/libspeex'
> if /bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\"
> -DPACKAGE_TARNAME=\
> "\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DSTDC
> _HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STR
> ING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H
> =1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_SYS_SOUNDCARD_H=1
> -DHAVE_LIBOGG=1 -
> DHAVE_LIBM=1 -DVERSION=\"1.1.4\" -D_USE_SSE=1  -I. -I.     -g -O2 -MT
> nb_celp.lo
>  -MD -MP -MF ".deps/nb_celp.Tpo" \
>   -c -o nb_celp.lo `test -f 'nb_celp.c' || echo './'`nb_celp.c; \
> then mv -f ".deps/nb_celp.Tpo" ".deps/nb_celp.Plo"; \
> else rm -f ".deps/nb_celp.Tpo"; exit 1; \
> fi
> mkdir .libs
>  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE
> _STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHA
> VE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STR
> INGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=
> 1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_LIBOGG=1 -DHAVE_LIBM=1
> -DVERSION=\"1.1.4\" -D_
> USE_SSE=1 -I. -I. -g -O2 -MT nb_celp.lo -MD -MP -MF .deps/nb_celp.Tpo -c
> nb_celp
> .c  -fPIC -DPIC -o .libs/nb_celp.o
> In file included from vq.h:43,
>                  from nb_celp.c:41:
> /vapp/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/xmmintrin.h:34:3: #error
> "SSE
> instruction set not enabled"
> In file included from nb_celp.c:41:
> vq.h:44: error: parse error before '*' token
> vq.h:46: error: parse error before '*' token
> make[1]: *** [nb_celp.lo] Error 1
> make[1]: Leaving directory `/home/war/speex-1.1.4/libspeex'
> make: *** [all-recursive] Error 1
> make: *** Error: Make failed.
> make: *** Aborting!
> war at war:~/speex-1.1.4$

-- 
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040121/21e853cb/signature.pgp


More information about the Speex-dev mailing list