Skip to contentSkip to conversation

compiling btsco (a2play.o)

Bluez-devel Michael Renner 2 participants 2 messages Oct 10, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Moin,

I just tried to compile the CVS version from yesterday. My machine is a debian stable installation (gcc 3.3.5) running a self compiled vanilla 2.6.13 kernel with its sources in /usr/src/linux.

As far as I see, every necessary package is installed in a current version.

Running configure gives one error:
./configure: line 4182: XIPH_PATH_AO: command not found

Trying to compile the package ends with an error:
make[2]: Entering directory `/usr/src/btsco'
gcc -Wall -O2 -o a2play a2play.o -lbluetooth -lbluetooth sbc/libsbc.a
-lbluetooth
a2play.o(.text+0x189b): In function `main':
: undefined reference to `pthread_create'
a2play.o(.text+0x19e8): In function `main':
: undefined reference to `pthread_join'
collect2: ld returned 1 exit status

Whats wrong?

Thanks

Signature · 13 lines
|Michael Renner      E-mail: [email protected]  |
|D-72072 Tuebingen   Germany        ICQ: #112280325 |
|Germany             Don't drink as root!      ESC:wq


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
#1 lore raw

Michael,

I think I added the pthreads requirement in the code without specifying it properly in the autoconf stuff. Strangely, it works on my laptop as-is.

Try updating & configuring it again in a few minutes (I committed a fix)

Brad

Quoted 19 lines · Michael Renner

Moin,

I just tried to compile the CVS version from yesterday. My machine is a debian stable installation (gcc 3.3.5) running a self compiled vanilla 2.6.13 kernel with its sources in /usr/src/linux.

As far as I see, every necessary package is installed in a current version.

Running configure gives one error:
./configure: line 4182: XIPH_PATH_AO: command not found

Trying to compile the package ends with an error:
make[2]: Entering directory `/usr/src/btsco'
gcc -Wall -O2 -o a2play a2play.o -lbluetooth -lbluetooth sbc/libsbc.a
-lbluetooth
a2play.o(.text+0x189b): In function `main':
: undefined reference to `pthread_create'
a2play.o(.text+0x19e8): In function `main':
: undefined reference to `pthread_join'
collect2: ld returned 1 exit status

Quoted 3 lines

Whats wrong?

Thanks

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel