can not compile btsco 0.5 in intrepid

Bug #296765 reported by Roel
4
Affects Status Importance Assigned to Milestone
bluez-btsco (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libtool

this is the output of the make command

make all-recursive
make[1]: Entering directory `/home/roelof/btsco-0.5'
Making all in sbc
make[2]: Entering directory `/home/roelof/btsco-0.5/sbc'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT sbc.o -MD -MP -MF .deps/sbc.Tpo -c -o sbc.o sbc.c
sbc.c: In function ‘sbc_encode’:
sbc.c:920: warning: array subscript is above array bounds
mv -f .deps/sbc.Tpo .deps/sbc.Po
rm -f libsbc.a
ar cru libsbc.a sbc.o
ranlib libsbc.a
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT sbcinfo.o -MD -MP -MF .deps/sbcinfo.Tpo -c -o sbcinfo.o sbcinfo.c
mv -f .deps/sbcinfo.Tpo .deps/sbcinfo.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2 -o sbcinfo sbcinfo.o -lasound -lm -ldl -lpthread -lbluetooth
../libtool: line 639: X--tag=CC: command not found
../libtool: line 672: libtool: ignoring unknown tag : command not found
../libtool: line 639: X--mode=link: command not found
../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../libtool: line 1943: X-I/usr/include: No such file or directory
../libtool: line 1943: X-Wall: command not found
../libtool: line 1943: X-O2: command not found
../libtool: line 2107: Xsbcinfo: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2119: Xsbcinfo: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 4813: Xgcc "" "" "" -o @OUTPUT@ sbcinfo.o -lasound -lm -ldl -lpthread -lbluetooth: command not found
../libtool: line 4814: Xgcc "" "" "" -o @OUTPUT@ sbcinfo.o -lasound -lm -ldl -lpthread -lbluetooth: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 4823: : command not found
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT sbcdec.o -MD -MP -MF .deps/sbcdec.Tpo -c -o sbcdec.o sbcdec.c
sbcdec.c: In function ‘decode’:
sbcdec.c:124: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
sbcdec.c:145: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
mv -f .deps/sbcdec.Tpo .deps/sbcdec.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2 -o sbcdec sbcdec.o libsbc.a -lasound -lm -ldl -lpthread -lbluetooth
../libtool: line 639: X--tag=CC: command not found
../libtool: line 672: libtool: ignoring unknown tag : command not found
../libtool: line 639: X--mode=link: command not found
../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../libtool: line 1943: X-I/usr/include: No such file or directory
../libtool: line 1943: X-Wall: command not found
../libtool: line 1943: X-O2: command not found
../libtool: line 2107: Xsbcdec: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2119: Xsbcdec: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 4813: Xgcc "" "" "" -o @OUTPUT@ sbcdec.o libsbc.a -lasound -lm -ldl -lpthread -lbluetooth: command not found
../libtool: line 4814: Xgcc "" "" "" -o @OUTPUT@ sbcdec.o libsbc.a -lasound -lm -ldl -lpthread -lbluetooth: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 4823: : command not found
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT sbcenc.o -MD -MP -MF .deps/sbcenc.Tpo -c -o sbcenc.o sbcenc.c
mv -f .deps/sbcenc.Tpo .deps/sbcenc.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread -lbluetooth
../libtool: line 639: X--tag=CC: command not found
../libtool: line 672: libtool: ignoring unknown tag : command not found
../libtool: line 639: X--mode=link: command not found
../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../libtool: line 1943: X-I/usr/include: No such file or directory
../libtool: line 1943: X-Wall: command not found
../libtool: line 1943: X-O2: command not found
../libtool: line 2107: Xsbcenc: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2119: Xsbcenc: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 4813: Xgcc "" "" "" -o @OUTPUT@ sbcenc.o libsbc.a -lasound -lm -ldl -lpthread -lbluetooth: command not found
../libtool: line 4814: Xgcc "" "" "" -o @OUTPUT@ sbcenc.o libsbc.a -lasound -lm -ldl -lpthread -lbluetooth: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 4823: : command not found
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT rcplay.o -MD -MP -MF .deps/rcplay.Tpo -c -o rcplay.o rcplay.c
mv -f .deps/rcplay.Tpo .deps/rcplay.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2 -o rcplay rcplay.o -lbluetooth -lbluetooth -lasound -lm -ldl -lpthread -lbluetooth
../libtool: line 639: X--tag=CC: command not found
../libtool: line 672: libtool: ignoring unknown tag : command not found
../libtool: line 639: X--mode=link: command not found
../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../libtool: line 1943: X-I/usr/include: No such file or directory
../libtool: line 1943: X-Wall: command not found
../libtool: line 1943: X-O2: command not found
../libtool: line 2107: Xrcplay: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2119: Xrcplay: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 4813: Xgcc "" "" "" -o @OUTPUT@ rcplay.o -lasound -lm -ldl -lpthread -lbluetooth: command not found
../libtool: line 4814: Xgcc "" "" "" -o @OUTPUT@ rcplay.o -lasound -lm -ldl -lpthread -lbluetooth: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 4823: : command not found
make[2]: Leaving directory `/home/roelof/btsco-0.5/sbc'
Making all in avdtp
make[2]: Entering directory `/home/roelof/btsco-0.5/avdtp'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT avdtp.o -MD -MP -MF .deps/avdtp.Tpo -c -o avdtp.o avdtp.c
mv -f .deps/avdtp.Tpo .deps/avdtp.Po
rm -f libavdtp.a
ar cru libavdtp.a avdtp.o
ranlib libavdtp.a
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -O2 -MT avtest.o -MD -MP -MF .deps/avtest.Tpo -c -o avtest.o avtest.c
mv -f .deps/avtest.Tpo .deps/avtest.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2 -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lasound -lm -ldl -lpthread -lbluetooth
../libtool: line 639: X--tag=CC: command not found
../libtool: line 672: libtool: ignoring unknown tag : command not found
../libtool: line 639: X--mode=link: command not found
../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../libtool: line 1943: X-I/usr/include: No such file or directory
../libtool: line 1943: X-Wall: command not found
../libtool: line 1943: X-O2: command not found
../libtool: line 2107: Xavtest: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2119: Xavtest: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 2258: X-lasound: command not found
../libtool: line 2258: X-lm: command not found
../libtool: line 2258: X-ldl: command not found
../libtool: line 2258: X-lpthread: command not found
../libtool: line 2258: X-lbluetooth: command not found
../libtool: line 4813: Xgcc "" "" "" -o @OUTPUT@ avtest.o libavdtp.a -lasound -lm -ldl -lpthread -lbluetooth: command not found
../libtool: line 4814: Xgcc "" "" "" -o @OUTPUT@ avtest.o libavdtp.a -lasound -lm -ldl -lpthread -lbluetooth: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 4823: : command not found
make[2]: Leaving directory `/home/roelof/btsco-0.5/avdtp'
Making all in alsa-plugins
make[2]: Entering directory `/home/roelof/btsco-0.5/alsa-plugins'
Making all in headsetd
make[3]: Entering directory `/home/roelof/btsco-0.5/alsa-plugins/headsetd'
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -MT headsetd.o -MD -MP -MF .deps/headsetd.Tpo -c -o headsetd.o headsetd.c
headsetd.c: In function ‘main’:
headsetd.c:75: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
mv -f .deps/headsetd.Tpo .deps/headsetd.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c
mv -f .deps/daemon.Tpo .deps/daemon.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -MT states.o -MD -MP -MF .deps/states.Tpo -c -o states.o states.c
mv -f .deps/states.Tpo .deps/states.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -MT sdp.o -MD -MP -MF .deps/sdp.Tpo -c -o sdp.o sdp.c
mv -f .deps/sdp.Tpo .deps/sdp.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -MT volctl.o -MD -MP -MF .deps/volctl.Tpo -c -o volctl.o volctl.c
mv -f .deps/volctl.Tpo .deps/volctl.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -O2 -MT dbus.o -MD -MP -MF .deps/dbus.Tpo -c -o dbus.o dbus.c
mv -f .deps/dbus.Tpo .deps/dbus.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -O2 -o headsetd headsetd.o daemon.o states.o sdp.o volctl.o dbus.o -lbluetooth -lasound -lm -ldl -lpthread -lbluetooth
../../libtool: line 639: X--tag=CC: command not found
../../libtool: line 672: libtool: ignoring unknown tag : command not found
../../libtool: line 639: X--mode=link: command not found
../../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../../libtool: line 1943: X-Wall: command not found
../../libtool: line 1943: X-O2: command not found
../../libtool: line 2107: Xheadsetd: command not found
X: user not authorized to run the X server, aborting.
../../libtool: line 2119: Xheadsetd: command not found
../../libtool: line 2258: X-lbluetooth: command not found
../../libtool: line 2258: X-lasound: command not found
../../libtool: line 2258: X-lm: command not found
../../libtool: line 2258: X-ldl: command not found
../../libtool: line 2258: X-lpthread: command not found
../../libtool: line 2258: X-lbluetooth: command not found
../../libtool: line 2258: X-lasound: command not found
../../libtool: line 2258: X-lm: command not found
../../libtool: line 2258: X-ldl: command not found
../../libtool: line 2258: X-lpthread: command not found
../../libtool: line 2258: X-lbluetooth: command not found
../../libtool: line 2258: X-lasound: command not found
../../libtool: line 2258: X-lm: command not found
../../libtool: line 2258: X-ldl: command not found
../../libtool: line 2258: X-lpthread: command not found
../../libtool: line 2258: X-lbluetooth: command not found
../../libtool: line 4813: Xgcc "" "" -o @OUTPUT@ headsetd.o daemon.o states.o sdp.o volctl.o dbus.o -lasound -lm -ldl -lpthread -lbluetooth: command not found
../../libtool: line 4814: Xgcc "" "" -o @OUTPUT@ headsetd.o daemon.o states.o sdp.o volctl.o dbus.o -lasound -lm -ldl -lpthread -lbluetooth: command not found
X: user not authorized to run the X server, aborting.
../../libtool: line 4823: : command not found
make[3]: Leaving directory `/home/roelof/btsco-0.5/alsa-plugins/headsetd'
make[3]: Entering directory `/home/roelof/btsco-0.5/alsa-plugins'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -pthread -Wall -O2 -MT pcm_a2dp.lo -MD -MP -MF .deps/pcm_a2dp.Tpo -c -o pcm_a2dp.lo pcm_a2dp.c
../libtool: line 639: X--tag=CC: command not found
../libtool: line 672: libtool: ignoring unknown tag : command not found
../libtool: line 639: X--mode=compile: command not found
../libtool: line 789: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 790: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
../libtool: line 933: Xgcc: command not found
../libtool: line 933: X-DHAVE_CONFIG_H: command not found
../libtool: line 933: X-I.: command not found
../libtool: line 933: X-I..: command not found
../libtool: line 933: X-I/usr/include: No such file or directory
../libtool: line 933: X-pthread: command not found
../libtool: line 933: X-Wall: command not found
../libtool: line 933: X-O2: command not found
../libtool: line 933: X-MT: command not found
../libtool: line 933: Xpcm_a2dp.lo: command not found
../libtool: line 933: X-MD: command not found
../libtool: line 933: X-MP: command not found
../libtool: line 933: X-MF: command not found
../libtool: line 933: X.deps/pcm_a2dp.Tpo: No such file or directory
../libtool: line 933: X-c: command not found
../libtool: line 981: Xpcm_a2dp.lo: command not found
../libtool: line 986: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [pcm_a2dp.lo] Error 1
make[3]: Leaving directory `/home/roelof/btsco-0.5/alsa-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/roelof/btsco-0.5/alsa-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/roelof/btsco-0.5'
make: *** [all] Error 2

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This source has not been generated properly, you have pieces of two different versions of libtool in there

Please try running autoreconf -v -i -f

Revision history for this message
Roel (roel-muylaert) wrote :

it didn't solve my problem
I tried running autoreconf -v -i -f in the terminal but it just give's me this output

Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
       [-l dir] [--localdir=dir] [--force] [--verbose] [--version]
       [--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]

Revision history for this message
jcolton (jimcolt) wrote :

Scott James Remnant's suggestion worked for me on Ubuntu 9.10, btsco version 0.5.

I ran the script 'bootstrap', then
running autoreconf -v -i -f
then 'configure' per the doc that comes with the btsco tar file: ./configure --prefix=/usr --enable-alsaplugin
Then I had to add '#include <bits/local_lim.h>' to source file "./alsa-plugins/a2dpd.c" that came with the tar.
Then 'make install' succeeds fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.