Return-Path: MIME-Version: 1.0 Message-ID: <45B03C7E.000044.16122@bj163app38.163.com> Date: Fri, 19 Jan 2007 11:35:26 +0800 (CST) From: "=?gb2312?B?t8nM7Nbt?=" To: bluez-devel@lists.sourceforge.net Subject: [Bluez-devel] Plugz Building Problem Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0995460250==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0995460250== Content-Type: Multipart/Alternative; boundary="Boundary-=_QSSWnPFtBAiWJZyhYdaPUAVjQzPJ" --Boundary-=_QSSWnPFtBAiWJZyhYdaPUAVjQzPJ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hello ,everybody! I am a newbie of bluez.I have downloaded plugz from cvs repository inform= ed on site http://bluetooth-alsa.sourceforge.net/build.html.when I built = sbc project I found bootstrap cound not run on my fc6 system directly.It = printed the following error message:bash: ./bootstrap: /bin/sh^M: bad int= erpreter: =C3=BB=D3=D0=C4=C7=B8=F6=CE=C4=BC=FE=BB=F2=C4=BF=C2=BC, then I = tried to run every commands in bootstrap one by one and It generated conf= igure script .The problem also existed when building plugz.So I built sbc= project successfully at last.However,I had another trouble when I built = plugz.After I ran configure to generate correspording files make had erro= rs: make all-recursive make[1]: Entering directory `/download/bluetooth-alsa/plugz' Making all in avdtp make[2]: Entering directory `/download/bluetooth-alsa/plugz/avdtp' /bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -I/usr/include -Wall -O2 = -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lasound -lm -ld= l -lpthread -lbluetooth : command not found1:=20 : command not found3:=20 : command not found0:=20 /bin/sed=A3=BA-e =B1=ED=B4=EF=CA=BD #1=A3=AC=D7=D6=B7=FB 10=A3=BAunknown = option to `s' : command not found4:=20 : command not found8:=20 : command not found3:=20 : command not found4:=20 =2E./libtool: line 409: syntax error near unexpected token `elif' './libtool: line 409: `elif test "X$1" =3D X--fallback-echo; then make[2]: *** [avtest] =B4=ED=CE=F3 2 make[2]: Leaving directory `/download/bluetooth-alsa/plugz/avdtp' make[1]: *** [all-recursive] =B4=ED=CE=F3 1 make[1]: Leaving directory `/download/bluetooth-alsa/plugz' make: *** [all] =B4=ED=CE=F3 2. I tried to run libtool script generated by configure following hints.It p= rints the errors message as well: : command not found : command not found : command not found /bin/sed=A3=BA-e =B1=ED=B4=EF=CA=BD #1=A3=AC=D7=D6=B7=FB 10=A3=BAunknown = option to `s' : command not found : command not found : command not found : command not found libtool: line 409: syntax error near unexpected token `elif' 'ibtool: line 409: `elif test "X$1" =3D X--fallback-echo; then So I found out that the problem was the libtool script.Then I found out t= here was another libtool script in /usr/bin which was installed in libtoo= l-1.5.22-6.1 package and it's different from the libtool generated by con= figure ,and then I replaced libtool by /usr/bin/libtool and make ran smo= othly.The make masseges in the end is (cd .libs && rm -f libasound_module_ctl_sco.so.0 && ln -s libasound_modul= e_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so.0) (cd .libs && rm -f libasound_module_ctl_sco.so && ln -s libasound_module_= ctl_sco.so.0.0.0 libasound_module_ctl_sco.so) ar cru .libs/libasound_module_ctl_sco.a ctl_sco.o ranlib .libs/libasound_module_ctl_sco.a creating libasound_module_ctl_sco.la (cd .libs && rm -f libasound_module_ctl_sco.la && ln -s ../libasound_modu= le_ctl_sco.la libasound_module_ctl_sco.la) make[3]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins' make[2]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins' make[2]: Entering directory `/download/bluetooth-alsa/plugz' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/download/bluetooth-alsa/plugz' make[1]: Leaving directory `/download/bluetooth-alsa/plugz' However I found there is no sample.a2dprc file in subdirectory alsa-plugi= ns after make install finished,so I counldn't continue to install plugz f= ollowing instuction on the site http://bluetooth-alsa.sourceforge.net/bui= ld.html. I am sorry for wasting your time for my unbearably long description.I que= stions are : what difference is there between the two libtools,one of which is install= ed in libtool-1.5.22-6.1 and the other of which is generated by plugz ?ha= ve I built plugz successully by replacement of libtool ?can it work with= this ?How can I complete the installation ?and is plugz able to embed in= arm s3c2440. Thank you in advance!I am so grateful for your reply since I don't know w= hat to do now! = Yours Jimscene Wang --Boundary-=_QSSWnPFtBAiWJZyhYdaPUAVjQzPJ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hello ,everybody!

I am a newbie of bluez.I have downloaded plugz f= rom cvs repository informed on site http://bluetooth-alsa.sourceforge.net= /build.html.when I built sbc project I found bootstrap cound not run on m= y fc6 system directly.It printed the following error message:bash: ./boot= strap: /bin/sh^M: bad interpreter: =C3=BB=D3=D0=C4=C7=B8=F6=CE=C4=BC=FE=BB= =F2=C4=BF=C2=BC, then I tried to run every commands in bootstrap one by o= ne and It generated configure script .The problem also existed when build= ing plugz.So I built sbc project successfully at last.However,I had anoth= er trouble when I built plugz.After I ran configure to generate correspor= ding files make had errors:

make  all-recursive
make[1]: E= ntering directory `/download/bluetooth-alsa/plugz'
Making all in avdtp=
make[2]: Entering directory `/download/bluetooth-alsa/plugz/avdtp'/bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -I/usr/include -Wall -O2=    -o avtest  avtest.o -lbluetooth libavdtp.a -lbluetooth = -lasound -lm -ldl -lpthread -lbluetooth
: command not found1:
: co= mmand not found3:
: command not found0:
/bin/sed=A3=BA-e =B1=ED=B4= =EF=CA=BD #1=A3=AC=D7=D6=B7=FB 10=A3=BAunknown option to `s'
: command= not found4:
: command not found8:
: command not found3:
: co= mmand not found4:
../libtool: line 409: syntax error near unexpected = token `elif'
'./libtool: line 409: `elif test "X$1" =3D X--fallback-ec= ho; then
make[2]: *** [avtest] =B4=ED=CE=F3 2
make[2]: Leaving dire= ctory `/download/bluetooth-alsa/plugz/avdtp'
make[1]: *** [all-recursi= ve] =B4=ED=CE=F3 1
make[1]: Leaving directory `/download/bluetooth-als= a/plugz'
make: *** [all] =B4=ED=CE=F3 2.

I tried to run libtool= script generated by configure following hints.It prints the errors messa= ge as well:
: command not found
: command not found
: command no= t found
/bin/sed=A3=BA-e =B1=ED=B4=EF=CA=BD #1=A3=AC=D7=D6=B7=FB 10=A3= =BAunknown option to `s'
: command not found
: command not found: command not found
: command not found
libtool: line 409: syntax = error near unexpected token `elif'
'ibtool: line 409: `elif test "X$1"= =3D X--fallback-echo; then

So I found out that the problem was th= e libtool script.Then I found out there was another libtool script in /us= r/bin which was installed in libtool-1.5.22-6.1 package and it's differen= t from the libtool generated by configure ,and then  I replaced libt= ool by /usr/bin/libtool and make ran smoothly.The make masseges in the en= d is

(cd .libs && rm -f libasound_module_ctl_sco.so.0 &= ;& ln -s libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.s= o.0)
(cd .libs && rm -f libasound_module_ctl_sco.so &&= ln -s libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so)
= ar cru .libs/libasound_module_ctl_sco.a  ctl_sco.o
ranlib .libs/l= ibasound_module_ctl_sco.a
creating libasound_module_ctl_sco.la
(cd = =2Elibs && rm -f libasound_module_ctl_sco.la && ln -s ../= libasound_module_ctl_sco.la libasound_module_ctl_sco.la)
make[3]: Leav= ing directory `/download/bluetooth-alsa/plugz/alsa-plugins'
make[2]: L= eaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
make[2]= : Entering directory `/download/bluetooth-alsa/plugz'
make[2]: Nothing= to be done for `all-am'.
make[2]: Leaving directory `/download/blueto= oth-alsa/plugz'
make[1]: Leaving directory `/download/bluetooth-alsa/p= lugz'


However I found there is no sample.a2dprc file in subdir= ectory alsa-plugins after make install finished,so I counldn't continue t= o install plugz following instuction on the site http://bluetooth-alsa.so= urceforge.net/build.html.
I am sorry for wasting your time for my unbe= arably long description.I questions are :
what difference is there bet= ween the two libtools,one of which is installed in libtool-1.5.22-6.1 and= the other of which is generated by plugz ?have I built plugz successully= by replacement of libtool  ?can it work with this ?How can I comple= te the installation ?and is plugz able to embed in arm s3c2440.

Th= ank you in advance!I am so grateful for your reply since I don't know wha= t to do now!


          = ;               &n= bsp;               = ;               &n= bsp;               = ;               &n= bsp;    Yours Jimscene Wang