Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluez-utils-2.7 compile failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
deephack1982
n00b
n00b


Joined: 06 Apr 2004
Posts: 45
Location: Scotland

PostPosted: Thu Jul 22, 2004 9:45 pm    Post subject: Bluez-utils-2.7 compile failed Reply with quote

Hello everyone!

I'm have some troubles installing bluez-utils on my iBook G3. When I emerge it I get the following compile error

make[2]: Entering directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c hcitool.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c l2ping.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c sdptool.c
sdptool.c: In function `add_handsfree':
sdptool.c:1129: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1129: error: (Each undeclared identifier is reported only once
sdptool.c:1129: error: for each function it appears in.)
sdptool.c:1135: error: `HANDSFREE_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1151: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1578: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1578: error: initializer element is not constant
sdptool.c:1578: error: (near initialization for `service[7].class')
sdptool.c:1578: error: initializer element is not constant
sdptool.c:1578: error: (near initialization for `service[7]')
sdptool.c:1580: error: initializer element is not constant
sdptool.c:1580: error: (near initialization for `service[8]')
sdptool.c:1581: error: initializer element is not constant
sdptool.c:1581: error: (near initialization for `service[9]')
sdptool.c:1583: error: initializer element is not constant
sdptool.c:1583: error: (near initialization for `service[10]')
sdptool.c:1584: error: initializer element is not constant
sdptool.c:1584: error: (near initialization for `service[11]')
sdptool.c:1585: error: initializer element is not constant
sdptool.c:1585: error: (near initialization for `service[12]')
sdptool.c:1587: error: initializer element is not constant
sdptool.c:1587: error: (near initialization for `service[13]')
make[2]: *** [sdptool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-wireless/bluez-utils-2.7 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)

I previously installed this without problems but did a fresh install recently. Here is my CFLAGS

CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"

Anyone seen this before?
Back to top
View user's profile Send private message
thesnowman
Guru
Guru


Joined: 08 May 2003
Posts: 365
Location: Sydney, Australia

PostPosted: Wed Jul 28, 2004 10:35 am    Post subject: Reply with quote

What bluetooth packages do you have installed? It looks like you have bluez-sdp installed which should not be installed with bluez-utils >2.6 as it is now included.

If you are using bluez-libs-2.7 and bluez-utils-2.7, then you should unmerge bluez-sdp and bluez-pan and they are no longer required. Have a look here for more details:
http://www.bluez.org/news.html
Back to top
View user's profile Send private message
deephack1982
n00b
n00b


Joined: 06 Apr 2004
Posts: 45
Location: Scotland

PostPosted: Thu Jul 29, 2004 7:05 pm    Post subject: Reply with quote

Doh! :oops:

Thank you very much, you are of course entirely correct.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum