[Speex-dev] compile error with speex-1.2beta1

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Mon Jun 4 19:05:24 PDT 2007


郭任 wrote:
> hi ,all:
> 	comiple error with speex-1.2beta1 why!!??  make /gcc version
> error?or other lib needed????

You need libogg (the development package too)

	Jean-Marc


> ------------------------------------
> 
> [guor at ppe speex-1.2beta1-install]$ make -v
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> [guor at ppe speex-1.2beta1-install]$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-52)
> 
> 
> 
> 
> [guor at ppe speex-1.2beta1-install]$ make
> make  all-recursive
> make[1]: Entering directory `/home/guor/osip/dev/speex-1.2beta1-install'
> Making all in libspeex
> make[2]: Entering directory
> `/home/guor/osip/dev/speex-1.2beta1-install/libspeex'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/guor/osip/dev/speex-1.2beta1-install/libspeex'
> Making all in include
> make[2]: Entering directory
> `/home/guor/osip/dev/speex-1.2beta1-install/include'
> Making all in speex
> make[3]: Entering directory
> `/home/guor/osip/dev/speex-1.2beta1-install/include/speex'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/home/guor/osip/dev/speex-1.2beta1-install/include/speex'
> make[3]: Entering directory
> `/home/guor/osip/dev/speex-1.2beta1-install/include'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory
> `/home/guor/osip/dev/speex-1.2beta1-install/include'
> make[2]: Leaving directory
> `/home/guor/osip/dev/speex-1.2beta1-install/include'
> Making all in src
> make[2]: Entering directory `/home/guor/osip/dev/speex-1.2beta1-install/src'
> if gcc -DHAVE_CONFIG_H -I. -I../../speex-1.2beta1/src -I..
> -I../../speex-1.2beta1/include -I../include -I..     -g -O2 -MT speexenc.o
> -MD -MP -MF ".deps/speexenc.Tpo" -c -o speexenc.o
> ../../speex-1.2beta1/src/speexenc.c; \
> then mv -f ".deps/speexenc.Tpo" ".deps/speexenc.Po"; else rm -f
> ".deps/speexenc.Tpo"; exit 1; fi
> In file included from ../../speex-1.2beta1/src/speexenc.c:62:
> ../../speex-1.2beta1/src/skeleton.h:29: syntax error before "ogg_uint16_t"
> ../../speex-1.2beta1/src/skeleton.h:29: warning: no semicolon at end of
> struct or union
> ../../speex-1.2beta1/src/skeleton.h:30: warning: data definition has no type
> or storage class
> ../../speex-1.2beta1/src/skeleton.h:39: syntax error before '}' token
> ../../speex-1.2beta1/src/skeleton.h:39: warning: data definition has no type
> or storage class
> ../../speex-1.2beta1/src/skeleton.h:59: syntax error before '*' token
> ../../speex-1.2beta1/src/skeleton.h:61: syntax error before
> "fishead_from_ogg"
> ../../speex-1.2beta1/src/skeleton.h:61: warning: data definition has no type
> or storage class
> ../../speex-1.2beta1/src/skeleton.h:63: syntax error before "fishead_packet"
> ../../speex-1.2beta1/src/speexenc.c: In function `add_fishead_packet':
> ../../speex-1.2beta1/src/speexenc.c:151: syntax error before "fp"
> ../../speex-1.2beta1/src/speexenc.c:153: `fp' undeclared (first use in this
> function)
> ../../speex-1.2beta1/src/speexenc.c:153: (Each undeclared identifier is
> reported only once
> ../../speex-1.2beta1/src/speexenc.c:153: for each function it appears in.)
> make[2]: *** [speexenc.o] Error 1
> make[2]: Leaving directory `/home/guor/osip/dev/speex-1.2beta1-install/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/guor/osip/dev/speex-1.2beta1-install'
> make: *** [all] Error 2
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 


More information about the Speex-dev mailing list