[Asterisk-Dev] chan_bluetooth
Richard
lists at keep-trying.com
Wed Apr 20 12:51:48 MST 2005
Thanks for reply, however this has confused me.
> >
> > [chan_bluetooth.so]Apr 16 17:07:37 WARNING[29662]: loader.c:301
> > __load_resource: /usr/lib/asterisk/modules/chan_bluetooth.so:
> > undefined
> > symbol: sdp_record_register
>
>Use the original Makefile which links against libbluetooth.so.
When you say the original Makefile I assume the one from CrazyGeek
site which is what I am using. I have shown it below to ensure we
are talking about the same thing.
BLT_DIR = $(shell dirname $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
BLT_OBJS = $(BLT_DIR)/.tmp/chan_bluetooth.o
ifeq ($(strip ${MAKEFILE_LIST}), Makefile)
thisshouldnotberun:
@echo " --- Please read the README and INSTALL file!"
endif
$(BLT_DIR)/.tmp/chan_bluetooth.o: $(BLT_DIR)/chan_bluetooth.c
$(CC) -c -I$(BLT_DIR) $(CFLAGS) -o $@ $<
chan_bluetooth.so: $(BLT_DIR)/.tmp $(BLT_OBJS)
$(CC) $(SOLINK) -o $@ $(BLT_OBJS) -lbluetooth
$(BLT_DIR)/.tmp:
mkdir -p $(BLT_DIR)/.tmp
Best Regards
More information about the asterisk-dev
mailing list