Menu

#19 BluetoothSDP error after make command

v2.6
open
nobody
oasys (1)
5
2014-01-09
2014-01-09
Marcin Sz.
No

During compilation of oasys 1.6 (./configure && make) following warning and errors are visible:

'bluez/BluetoothSDP.cc:35:53: warning: format not a string literal and no format arguments [-Wformat-security]
Logger("BluetoothServiceDiscoveryClient",logpath)
^
bluez/BluetoothSDP.cc: In constructor ‘oasys::BluetoothServiceRegistration::BluetoothServiceRegistration(const char, const char)’:
bluez/BluetoothSDP.cc:194:15: warning: format not a string literal and no format arguments [-Wformat-security]
sess_(NULL)
^
In file included from bluez/Bluetooth.h:32:0,
from bluez/BluetoothSDP.cc:25:
bluez/BluetoothSDP.cc: In member function ‘bool oasys::BluetoothServiceRegistration::register_service(const char)’:
bluez/BluetoothSDP.cc:260:25: error: taking address of temporary [-fpermissive]
BDADDR_LOCAL, /
connect to local server /
^
make:
** [bluez/BluetoothSDP.o] Error 1'

System:
Ubuntu 13.10 3.11.0-13-generic
Software:
libbluetooth.so.3 -> libbluetooth.so.3.13.0
libgnome-bluetooth.so.11 -> libgnome-bluetooth.so.11.0.0
gcc and g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
GNU Make 3.81

2 Attachments

Discussion


Log in to post a comment.