[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] Difficulty building openbt on lx devboard
> -----Original Message-----
> From: Rudy Fink [mailto:email@example.com]
> Sent: 07 June 2002 06:23
> To: firstname.lastname@example.org
> Subject: [bluetooth-dev] Difficulty building openbt on lx devboard
> I'm new to the list and was wondering if anyone could help me.
> I have followed the build instructions on the axis
> documentation site and setup the latest devboard file
> with the kernel and built everything successfully.
> I then:
> - grabed the cvs version of the openbt stack.
> - Copied driver source (/linux/drivers/char/bluetooth) to
> kernel source tree (os/linux/drivers/char/)
> - Copied the driver include files to the kernel source tree
> (/linux/include/linux/bluetooth to /os/linux/include/linux)
> -Copied the xml parsing libraries (/libs/expat to /libs)
> -Copied apps (/apps/bluetooth to /apps/)
> -Copied sdp server (/apps/bluetooth/sdp_server/ to /files/etc)
> Changed /makespec to include apps/bluetooh/ -r R1_0_0 in subdirs
Include apps/bluetooth/experimental and apps/bluetooth/sdp_server
> Changed /makespec to include libs/expat/ -r R1_0_0 in libs
> added "source bluetooth/Config.in" to the last line of
> added "subdir-$(CONFIG_BLUETOOTH) += bluetooth" and
> "obj-$(CONFIG_BLUETOOTH) += bluetooth/bt.o to the Makefile in the char
> then I run
> make cris-axis-linux-gnu from the axis root dir.
> I get the error:
> axis root/apps/Rules.elinux:173: *** --- ERROR: The code in axis
> root/apps/bluetooth/btd cannot be linked with with GLIBC. Stop>
> I also get this error for userstack. If I delete those two out of the
> make file everything goes on fine, but I don't really consider that a
To actually build btd with glibc, you need to add GLIBC to the line
in apps/bluetooth/btd/Makefile that reads 'AXIS_USABLE_LIBS = UCLIBC',
i.e., it should read 'AXIS_USABLE_LIBS = GLIBC UCLIBC'.
However, btd is really obsolete and you should use btdm from
the apps/bluetooth/experimental directory instead (see comment
above about what directories to specify in the makespec file).
> If anyone has any ideas or knows what is wrong I would really
> appreciate your help.
> ~! Rudy Fink
> Rice University
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to email@example.com