[speex-dev] Problem compiling speex 1.1.4

Michael T. Dean mtdean at thirdcontact.com
Thu Apr 1 23:57:28 PST 2004

Pierre wrote:

> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/xmmintrin.h:34:3: 
> #error "SSE instruction set not enabled"

<p>Speex 1.0.3--the current stable version--compiles without problems on 
GCC 3.3.x.  If, however, you need Speex 1.1.4, the easiest fix is to 
configure with:

CFLAGS='-msse' ./configure --enable-sse [other options]
CFLAGS='-g -O2 -msse' ./configure --enable-sse [other options]

(just be certain to specify appropriate flags).  A "cleaner" solution is 
to edit libspeex/Makefile after running configure, and add "-msse" 
(without quotes) to the definition of CFLAGS.

The problem is that GCC 3.3.x made a change which requires changes to 
Speex's autoconf files to support the new features in Speex 1.1.4.  A 
discussion to determine the best approach to fix the problem (while 
maintaining portability) is in progress.  For more information, see the 
thread [speex-dev] libspeex/SSE Intrinsics with GCC 3.3.x at 
http://www.xiph.org/archives/speex-dev/200404/0016.html .

Mike Dean
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Speex-dev mailing list