building geoclue against gpsd 2.39

Peter Robinson pbrobinson at gmail.com
Mon Mar 30 05:36:35 PDT 2009


Hi All,

It looks like the latest release of gpsd has changed some things and
has caused issues with the current git head of geoclue. There's a
except below, or the full build at the link.

Cheers,
Peter

http://koji.fedoraproject.org/koji/getfile?taskID=1264992&name=build.log

mv -f .deps/libgeoclue_la-geoclue-types.Tpo
.deps/libgeoclue_la-geoclue-types.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..    -I.. -I.. -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/libxml2   -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -Wall -Werror
-Wno-format -MT libgeoclue_la-gc-web-service.lo -MD -MP -MF
.deps/libgeoclue_la-gc-web-service.Tpo -c -o
libgeoclue_la-gc-web-service.lo `test -f 'gc-web-service.c' || echo
'./'`gc-web-service.c
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..    -I.. -I.. -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/libxml2   -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -Wall -Werror
-Wno-format -MT libgeoclue_la-gc-iface-address.lo -MD -MP -MF
.deps/libgeoclue_la-gc-iface-address.Tpo -c -o
libgeoclue_la-gc-iface-address.lo `test -f 'gc-iface-address.c' ||
echo './'`gc-iface-address.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I..
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -g -Wall -Werror -Wno-format -MT
libgeoclue_la-gc-provider.lo -MD -MP -MF
.deps/libgeoclue_la-gc-provider.Tpo -c gc-provider.c  -fPIC -DPIC -o
.libs/libgeoclue_la-gc-provider.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I..
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -g -Wall -Werror -Wno-format -MT
libgeoclue_la-gc-web-service.lo -MD -MP -MF
.deps/libgeoclue_la-gc-web-service.Tpo -c gc-web-service.c  -fPIC
-DPIC -o .libs/libgeoclue_la-gc-web-service.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I..
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -g -Wall -Werror -Wno-format -MT
libgeoclue_la-gc-iface-address.lo -MD -MP -MF
.deps/libgeoclue_la-gc-iface-address.Tpo -c gc-iface-address.c  -fPIC
-DPIC -o .libs/libgeoclue_la-gc-iface-address.o
cc1: warnings being treated as errors
gc-provider.c: In function 'name_owner_changed':
gc-provider.c:225: error: offset '2' outside bounds of constant string
gc-provider.c:225: error: offset '3' outside bounds of constant string
make[3]: *** [libgeoclue_la-gc-provider.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libgeoclue_la-gc-iface-address.Tpo
.deps/libgeoclue_la-gc-iface-address.Plo
mv -f .deps/libgeoclue_la-geoclue-velocity.Tpo
.deps/libgeoclue_la-geoclue-velocity.Plo
mv -f .deps/libgeoclue_la-gc-web-service.Tpo
.deps/libgeoclue_la-gc-web-service.Plo
make[3]: Leaving directory `/builddir/build/BUILD/geoclue-0.11.1.1/geoclue'


More information about the GeoClue mailing list