linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] mediastreamer not found


From: Salvador Gianluca
Subject: [Linphone-users] mediastreamer not found
Date: Wed, 9 Aug 2006 17:42:29 +0200

Hi to all the list!
I succesfully cross-compiled linphone for arm and ported it on target-board:
when i had obtained the
armbuild --> usr --> bin, include, lib, libexec, share,
tree, i compressed it with tar, transfered on my arm-target via tftp, decompressed and adjust the symbolic link-libraries.
When i launch linphonec i get this output:
 
~ # linphonec
Message:Found /dev/dsp.
Warning:Cannot open directory /armbuild/usr/lib/linphone/plugins/mediastreamer: No such file or directory
Warning:dsp block size set to 16384.
Warning:dsp block size set to 16384.
Ready.
linphonec> Message:REGISTRATION_FAILURE
 
Message:cfg= sip:voip.xxxxxxx.xx, cfg->rid=1, rid=1
Registration on sip:voip.xxxxxxx.xx sucessful.
Message:cfg= sip:voip.xxxxxxx.xx, cfg->rid=1, rid=1
 
linphonec>
 
I can make and receive calls, but i don't hear anything: mediastreamer is no present!
the /armbuild directory is where i build the cross-compiled linphone on my host-pc.
But there isn't any linphone/plugins/mediastreamer directory in /armbuild/usr/lib/ either on my host-pc or arm-target
Also i haven't any libmediastreamer.so.0 in /usr/lib...
The only file that could remind to mediastreamer is a binary file called mediastream in usr/libexec/mediastream 
Is this normal? Perhaps i miss some pass on cross-compilation?
 
I have cross-compiled readline-5.1, ncurses-5.5, linphone-1.3.0, libosip2-2.2.2, libogg-1.1.3, speex-1.1.11.1:

   #export PATH=$PATH:/usr/local/arm/3.3/bin
   #export LD=/usr/local/arm/3.3/bin/arm-linux-ld
   #export LDFLAGS=-L/usr/local/arm/3.3/arm-linux/lib

   #mkdir /arm-install
   #cd /arm-install 

   #cp linphone-1.3.0/ipkg/ipaq-config.site /arm-install/.
   #export CONFIG_SITE=~/ipaq-config.site
   #mkdir /armbuild
   #export ARM_INSTALL_TREE=/armbuild

Cross-compiling ncurses-5.5
   #cd ncurses-5.5
   #./configure --prefix=/armbuild -host=i686-pc-linux --target=arm-linux --with-shared
   #make
   #make install
Cross-compiling readline-5.1
   #cd ../readline-5.1
   #./configure --prefix=/armbuild -host=i686-pc-linux --target=arm-linux --disable-static
   #make
   #make install
 
Cross-compiling libosip2-2.2.2
   #cd libosip2-2.2.2
   #./configure --prefix=/armbuild -host=i686-pc-linux --target=arm-linux --disable-static
   #make
   #make install

Cross -compiling libogg-1.1.3
   #cd ../libogg-1.1.3
   #./configure --prefix=/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --enable-fixed-point
   #make
   #make install

Cross -compiling speex-1.1.11.1
   #cd ../speex-1.1.11.1
   #./configure --prefix=/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --enable-fixed-point --enable-arm-asm
--with-ogg=/armbuild/usr --with-ogg-libraries=/armbuild/usr/lib --with-ogg-headers=/armbuild/usr/include/ogg 
   #make
   #make install

Copy "libspeex.so.2.0.0" to my arm-tools.
   #cp /armbuild/usr/lib/libspeex.so.2.0.0 /usr/local/arm/3.3/arm-linux/lib
   #cd /usr/local/arm/3.3/arm-linux/lib
   #ln -s libspeex.so.2.0.0 libspeex.so
   #ln -s libspeex.so.2.0.0 libspeex.so.2

Cross compile linphone-1.3.0:
   Before i took the "oRTP" portion in linphone-1.3.0 folder, and done
   the following:
  
   #cd ../linphone-1.3.0
   #cd oRTP
   #./configure --prefix=/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --enable-fixed-point
   #make
   #make install

   #cp /armbuild/usr/lib/libortp.so.2.0.0 /usr/local/arm/3.3/arm-linux/lib

   #cd /usr/local/arm/3.3/arm-linux/lib
   #ln -s libortp.so.2.0.0 libortp.so.2
   #ln -s libortp.so.2.0.0 libortp.so

   then I compiled the "linphone" without GUI support

   #cd /arm/linphone-1.2.0
   #./configure --prefix=/root/armbuild --host=i686-pc-linux --target=arm-linux
--disable-static --disable-glib --enable-gnome_ui=no --disable-manual
--enable-ipv6 --enable-alsa --with-osip=/armbuild/usr
--with-speex=/armbuild/usr --with-readline=/armbuild/usr --with-osipparser=/armbuild/usr
   #make
   #make install
 
all worked fine, so i stripped binaries and libraries, compressed the /armbuild/usr folder and transfered it on my arm-target.
But there isn't any trail of mediastreamer exept in armbuild/usr/libexec directory, where i have found a binary file called mediastream
Could you help me?
Thanks in advance,
Gian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]