[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] AW: Bluez on DevBoard 82

Hi Alexander,

are you sure, that you choice the right host type ?
The DevBoard architecture ist "cris" and not "i686-linux".
Could that be the problem ?

The "make cris-axis-linux-gnu install" works fine, but
when I run "make install" in the AXIS_TOP_DIR, I get an error :

# make images
##### Including needed shared library files #####
strip-cris: Warning: Output file cannot represent architecture UNKNOWN!
libbluetooth.so.1 -> libbluetooth.so.1.0.3
#### No ld-linux.so.2 in
make: *** [cramfs.img] Error 1
(This error is only present, if I add apps/bluetooth to the TopLevel

I have get an other Makefile for bluez.
(-libs, -utiles, -sdp, -pan, -hcidump, -hciemu)
From there is this line:
./configure --target=cris-axis-linux-gnu --host=cris-axis-linux-gnu --prefix
=$(prefix)  --with-sdp-libs=$(prefix)/lib --with-sdp-includes=$(prefix)/incl
ude --with-bluez-libs=$(prefix)/lib --with-bluez-includes=$(prefix)/include 
 --enable-static=no --enable-shared=yes

But this doesn't work for me, too.
After running "make install", I get the messages :
"Invalid configuration 'cris-axis-linux-gnu' : machine 'cris-axis-linux-gnu'
not recognized "
"checking whether the C compiler
gcc -Wall -g -O2  -L~/axis/devboard_82/target/cris-axis-linux-gnu/lib)
works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[1]: *** [libs/Makefile] Error 1"

In both cases, I get "lib" problems !? So, is there are something wrong,
with my host config !?

Tobias Sprafke

Mobile: +49 (0) 177 64 32 313
Fon:    +49 (0) 208 75 10 123
E-Mail: tobias.sprafke@xxxxxxx.de

-----Ursprungliche Nachricht-----
Von: Alexander Eder [mailto:alexander.eder@xxxxxxx.com]
Gesendet: Montag, 8. Marz 2004 09:44
An: bluetooth-dev@xxxxxxx.com
Cc: tobias.sprafke@xxxxxxx.de
Betreff: Re: Bluez on DevBoard 82

Hello Tobias!

The description for bluez-libs and bluez-utils follows. But first let me
you about my problem:
The userspace tools are running, but the kernel locks up when I do, for
example, "hcitool scan" (hcitool inq works) or when I use any rfcomm
If your kernel does not lock up when using BlueZ via USB please tell me what
you did to the plain vanilla devboard 82 software and plain vanilla kernel
2.4.22 to make it work!

In the top level directory of the devboard-82 software cd to "apps" and
a folder called "bluetooth" there.
Place the Bluez library sources and the Bluez utility sources there in
directories called "bluez-libs" and "bluez-utils". You can also use links
with these names to the sources (this is how I do it).
Now look for the end of the "SUBDIRS" list in the top level Makefile and add
the line "apps/bluetooth" to the end of the list (don't forget the "\" in
previuos line!)
Place the attached Makefile inside the "apps/bluetooth" folder and run "make
install" (after sourcing init_env).

A more general description can be found here:

Happy bluetoothing (and please don't forget my problem),
Alexander Eder

To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com