hi the attached patch upgrades the current speex version in openwrt kamikaze to v1.2beta2 - please review and apply at will.
- The compile-fix patch was removed, I do not think that it is required any more I still have some problems using speex on my openwrt device (Asus WL500GP). When the function speex_encoder_init() is called, the application freezes. I tracked it down to the following line in vbr_init() vbr.c (in libspeex) for (i=0;i<VBR_MEMORY_SIZE;i++) vbr->last_log_energy[i] = log(MIN_ENERGY); // <---- freeze I think this is because the symbol `log' is not available and the loader locks up some how. Do you know in which library the `log' symbol is defined? I would guess libm.so but I could not list any symbols from it with nm. I am running OpenWRT from svn r7544 if anyone has speex working please let me/us know your configuration and/or how you got it working.. many thanks in advance /alfred
Index: libs/speex/patches/100-compile_fix.patch =================================================================== --- libs/speex/patches/100-compile_fix.patch (revision 7542) +++ libs/speex/patches/100-compile_fix.patch (working copy) @@ -1,13 +0,0 @@ -Binary files speex-1.1.12.orig/libspeex/.Makefile.in.swp and speex-1.1.12/libspeex/.Makefile.in.swp differ -diff -urN speex-1.1.12.orig/libspeex/Makefile.in speex-1.1.12/libspeex/Makefile.in ---- speex-1.1.12.orig/libspeex/Makefile.in 2007-05-13 13:18:43.000000000 +0200 -+++ speex-1.1.12/libspeex/Makefile.in 2007-05-13 13:19:08.000000000 +0200 -@@ -245,7 +245,7 @@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - EXTRA_DIST = testenc.c testenc_wb.c testenc_uwb.c testdenoise.c testecho.c --INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ -+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) - lib_LTLIBRARIES = libspeex.la - - # Sources for compilation in the library Index: libs/speex/Makefile =================================================================== --- libs/speex/Makefile (revision 7542) +++ libs/speex/Makefile (working copy) @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=speex -PKG_VERSION:=1.2beta1 +PKG_VERSION:=1.2beta2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/speex/ -PKG_MD5SUM:=aac2e4ba42122b885c787ea280acb3d9 +PKG_MD5SUM:=5480fa53a7451603ecb57ff815c87ac0 PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel