I'm trying to make a little bluetooth handsfree "client" with a raspberry pi. I found a software already made that gives access to make and receive calls from RPi connected to a phone via Bluetooth (http://nohands.sourceforge.net/index.html).
However, I can't install that software. I've got all the packages needed installed from apt-get, I've run the ./autogen and ./configure commands, but when I try to "make install" I get this error:
Code: Select all
pi@raspberrypi ~/hfp/trunk $ sudo make install Making install in libhfp make: Entering directory '/home/pi/hfp/trunk/libhfp' g++ -DHAVE_CONFIG_H -I. -I.. -I../include -include config.h -Wshadow -fno-exceptions -g -Wall -MT bt.o -MD -MP -MF .deps/bt.Tpo -c -o bt.o bt.cpp In file included from bt.cpp:48:0: ../include/libhfp/bt.h: In member function âvoid libhfp::BtDevice::DisconnectAll()â: ../include/libhfp/bt.h:1081:50: warning: converting âfalseâ to pointer type for argument 1 of âvoid libhfp::BtDevice::__DisconnectAll(libhfp::ErrorInfo*)â [-Wconversion-null] bt.cpp: In static member function âstatic int libhfp::SdpAsyncTaskHandler::SdpLookupChannel(libhfp::SdpTaskParams&)â: bt.cpp:81:20: error: taking address of temporary [-fpermissive] bt.cpp: In member function âbool libhfp::BtHub::Start(libhfp::ErrorInfo*)â: bt.cpp:1226:22: error: taking address of temporary [-fpermissive] bt.cpp:1226:34: error: taking address of temporary [-fpermissive] Makefile:377: recipe for target 'bt.o' failed make: *** [bt.o] Error 1 make: Leaving directory '/home/pi/hfp/trunk/libhfp' Makefile:471: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1
Thank you all!