Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44125 - net-libs/openh323-1.13.2 incompatible with speex 1.1.x
Summary: net-libs/openh323-1.13.2 incompatible with speex 1.1.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 05:30 UTC by Hans-Christian Armingeon
Modified: 2004-03-16 08:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-03-09 05:30:39 UTC
g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -fPIC -I/v
ar/tmp/portage/openh323-1.13.2/work/openh323/include  -I/usr/include/ffmpeg -DPASN_NOPRINTON -DP
ASN_LEANANDMEAN -DHAS_OSS -DPASN_NOPRINTON -I/usr/share/pwlib/include -Os -DNDEBUG -O3 -march=at
hlon-xp -funroll-loops -pipe -x c++ -c speexcodec.cxx -o /var/tmp/portage/openh323-1.13.2/work/o
penh323/lib/obj_linux_x86_rn/speexcodec.o
speexcodec.cxx: In member function `virtual BOOL SpeexCodec::EncodeFrame(BYTE*,
   unsigned int&)':
speexcodec.cxx:404: error: cannot convert `float*' to `short int*' for argument
   `2' to `int speex_encode(void*, short int*, SpeexBits*)'
speexcodec.cxx: In member function `virtual BOOL SpeexCodec::DecodeFrame(const
   BYTE*, unsigned int, unsigned int&)':
speexcodec.cxx:418: error: cannot convert `float*' to `short int*' for argument
   `3' to `int speex_decode(void*, SpeexBits*, short int*)'
distcc[29397] ERROR: compile on localhost failed
make[1]: *** [/var/tmp/portage/openh323-1.13.2/work/openh323/lib/obj_linux_x86_rn/speexcodec.o]
Error 1
make[1]: Leaving directory `/var/tmp/portage/openh323-1.13.2/work/openh323/src'
make: *** [opt] Error 2

!!! ERROR: net-libs/openh323-1.13.2 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! make failed




Same problem without distcc:
gcc -Os -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -c iLBC/syntFilter.c -o /var/tmp/portage/openh323-1.13.2/work/openh323/lib/obj_linux_x86_rn/syntFilter.o
g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -fPIC -I/var/tmp/portage/openh323-1.13.2/work/openh323/include  -I/usr/include/ffmpeg -DPASN_NOPRINTON -DPASN_LEANANDMEAN -DHAS_OSS -DPASN_NOPRINTON -I/usr/share/pwlib/include -Os -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -x c++ -c g729codec.cxx -o /var/tmp/portage/openh323-1.13.2/work/openh323/lib/obj_linux_x86_rn/g729codec.o
g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -fPIC -I/var/tmp/portage/openh323-1.13.2/work/openh323/include  -I/usr/include/ffmpeg -DPASN_NOPRINTON -DPASN_LEANANDMEAN -DHAS_OSS -DPASN_NOPRINTON -I/usr/share/pwlib/include -Os -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -x c++ -c speexcodec.cxx -o /var/tmp/portage/openh323-1.13.2/work/openh323/lib/obj_linux_x86_rn/speexcodec.o
speexcodec.cxx: In member function `virtual BOOL SpeexCodec::EncodeFrame(BYTE*,
   unsigned int&)':
speexcodec.cxx:404: error: cannot convert `float*' to `short int*' for argument
   `2' to `int speex_encode(void*, short int*, SpeexBits*)'
speexcodec.cxx: In member function `virtual BOOL SpeexCodec::DecodeFrame(const
   BYTE*, unsigned int, unsigned int&)':
speexcodec.cxx:418: error: cannot convert `float*' to `short int*' for argument
   `3' to `int speex_decode(void*, SpeexBits*, short int*)'
make[1]: *** [/var/tmp/portage/openh323-1.13.2/work/openh323/lib/obj_linux_x86_rn/speexcodec.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openh323-1.13.2/work/openh323/src'
make: *** [opt] Error 2

!!! ERROR: net-libs/openh323-1.13.2 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! make failed

Reproducible: Always
Steps to Reproduce:
1. emerge net-libs/openh323
2.
3.



Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.3-gentoo-r2) 
================================================================= 
System uname: 2.6.3-gentoo-r2 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.13p1 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc sandbox" 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
http://gentoo.oregonstate.edu" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr 
crypt cscope cups curl dga directfb doc dvd emacs encode esd ethereal evo 
fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm 
gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java 
jikes joystick jpeg kde kerberos ladcca lcm ldap leim libg++ libgda libwww 
lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule 
mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda 
pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime 
readline ruby ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl 
svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 
xmms xosd xv zeo zlib"
Comment 1 Stephane Loeuillet 2004-03-09 08:03:30 UTC
got the same

i'd say it's incompatible with speex 1.1.x and only works with 1.0.x


other package that i know that won't compile against speex 1.1.x is gst-plugins

please change the bug summary to reflect the fact that it is a speex incompatibility
Comment 2 Stephane Loeuillet 2004-03-09 08:04:50 UTC
putting stkn@gentoo.org on Cc as he's assigned a good part of openh323 failures lately
Comment 3 Hans-Christian Armingeon 2004-03-09 09:49:26 UTC
I have tested it with speex 1.0.3, and openh323 builds fine.

Johnny
Comment 4 Stefan Knoblich (RETIRED) gentoo-dev 2004-03-11 16:56:55 UTC
this will be fixed in the upcoming -r1 version
Comment 5 Stefan Knoblich (RETIRED) gentoo-dev 2004-03-11 18:08:47 UTC
updated openh323 ebuild is in portage (yay!)

please test...
Comment 6 Stephane Loeuillet 2004-03-12 04:02:03 UTC
the new ebuild worked well against the dev speex, thx
Comment 7 Stefan Knoblich (RETIRED) gentoo-dev 2004-03-16 08:57:10 UTC
closing as fixed