Return-Path: Message-ID: <45B08ECA.9090109@free.fr> Date: Fri, 19 Jan 2007 10:26:34 +0100 From: Fabien Chevalier MIME-Version: 1.0 To: BlueZ development References: <45B03C7E.000044.16122@bj163app38.163.com> In-Reply-To: <45B03C7E.000044.16122@bj163app38.163.com> Subject: Re: [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: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi, Did you use a Windows station at some point in the download process ?? Fabien > Hello ,everybody! > > I am a newbie of bluez.I have downloaded plugz from cvs repository > informed 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 interpreter: ?????????, then I tried to run > every commands in bootstrap one by one and It generated configure 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 errors: > > 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=CC --mode=link gcc -I/usr/include -Wall -O2 > -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lasound -lm -ldl > -lpthread -lbluetooth > : command not found1: > : command not found3: > : command not found0: > /bin/sed:-e ??? #1,?? 10:unknown option to `s' > : command not found4: > : command not found8: > : command not found3: > : command not found4: > ../libtool: line 409: syntax error near unexpected token `elif' > './libtool: line 409: `elif test "X$1" = X--fallback-echo; then > make[2]: *** [avtest] ?? 2 > make[2]: Leaving directory `/download/bluetooth-alsa/plugz/avdtp' > make[1]: *** [all-recursive] ?? 1 > make[1]: Leaving directory `/download/bluetooth-alsa/plugz' > make: *** [all] ?? 2. > > I tried to run libtool script generated by configure following hints.It > prints the errors message as well: > : command not found > : command not found > : command not found > /bin/sed:-e ??? #1,?? 10:unknown 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" = X--fallback-echo; then > > So I found out that the problem was the libtool script.Then I found out > there was another libtool script in /usr/bin which was installed in > libtool-1.5.22-6.1 package and it's different from the libtool generated > by configure ,and then I replaced libtool by /usr/bin/libtool and make > ran smoothly.The make masseges in the end 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.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_module_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-plugins after make install finished,so I counldn't continue to > install plugz following instuction on the site > http://bluetooth-alsa.sourceforge.net/build.html. > I am sorry for wasting your time for my unbearably long description.I > questions are : > what difference is there between 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 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 > what to do now! > > > > Yours Jimscene Wang > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel