| The Following 3 Users Say Thank You to hschmitt For This Useful Post: | ||
depbase=`echo src/btio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I./src -I./src -I./plugins -I./gdbus -I./gwobex -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libical -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align -g -MT src/btio.o -MD -MP -MF $depbase.Tpo -c -o src/btio.o src/btio.c &&\ mv -f $depbase.Tpo $depbase.Po src/btio.c: In function 'set_sec_level': src/btio.c:368: error: storage size of 'sec' isn't known src/btio.c:371: error: 'BT_SECURITY_LOW' undeclared (first use in this function) src/btio.c:371: error: (Each undeclared identifier is reported only once src/btio.c:371: error: for each function it appears in.) src/btio.c:371: error: 'BT_SECURITY_HIGH' undeclared (first use in this function) src/btio.c:381: error: 'BT_SECURITY' undeclared (first use in this function) cc1: warnings being treated as errors src/btio.c:368: error: unused variable 'sec' src/btio.c: In function 'l2cap_get_lm': src/btio.c:415: error: 'BT_SECURITY_LOW' undeclared (first use in this function) src/btio.c:417: error: 'BT_SECURITY_MEDIUM' undeclared (first use in this function) src/btio.c:419: error: 'BT_SECURITY_HIGH' undeclared (first use in this function) src/btio.c: In function 'rfcomm_get_lm': src/btio.c:436: error: 'BT_SECURITY_LOW' undeclared (first use in this function) src/btio.c:438: error: 'BT_SECURITY_MEDIUM' undeclared (first use in this function) src/btio.c:440: error: 'BT_SECURITY_HIGH' undeclared (first use in this function) src/btio.c: In function 'get_sec_level': src/btio.c:448: error: storage size of 'sec' isn't known src/btio.c:454: error: 'BT_SECURITY' undeclared (first use in this function) src/btio.c:448: error: unused variable 'sec' src/btio.c: In function 'l2cap_get': src/btio.c:771: error: 'BT_DEFER_SETUP' undeclared (first use in this function) src/btio.c: In function 'rfcomm_get': src/btio.c:878: error: 'BT_DEFER_SETUP' undeclared (first use in this function) src/btio.c: In function 'bt_io_listen': src/btio.c:1275: error: 'BT_DEFER_SETUP' undeclared (first use in this function) make[1]: *** [src/btio.o] Error 1 make: *** [all] Error 2