All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Plugz  Building Problem
@ 2007-01-19  3:35 飞天猪
  2007-01-19  9:26 ` Fabien Chevalier
  0 siblings, 1 reply; 3+ messages in thread
From: 飞天猪 @ 2007-01-19  3:35 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 4038 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 4894 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-20  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19  3:35 [Bluez-devel] Plugz Building Problem 飞天猪
2007-01-19  9:26 ` Fabien Chevalier
2007-01-20  0:52   ` [Bluez-devel] Plugz Building Prob lem 飞天猪

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.