Compile error with gpsd 2.96 in layer23

Malte Krupa m.krupa at nafn.de
Wed Jun 1 14:32:46 UTC 2011


Dear folks,

I recently played with osmocomBB and wanted to try out the
cell_log and gsmmap feature.
Therefore I tried to rebuild osmocomBB (sylvains testing tree) with gpsd
2.96 installed on archlinux kernel 2.6.38. 

If there is more information needed, just tell me!

Error while "$make":
Making all in src
make[2]: Entering directory
`/home/temal/dev/pkg/osmotemp/osmocom-bb/src/host/layer23/src'
Making all in common
make[3]: Entering directory
`/home/temal/dev/pkg/osmotemp/osmocom-bb/src/host/layer23/src/common'
  CC     l1ctl.o
  CC     l1l2_interface.o
  CC     sap_interface.o
  CC     lapdm.o
  CC     logging.o
  CC     networks.o
  CC     sim.o
sim.c: In function ‘gsm_sim_reply’:
sim.c:146:11: warning: variable ‘payload’ set but not used
[-Wunused-but-set-variable]
  CC     sysinfo.o
  CC     gps.o
gps.c: In function ‘osmo_gpsd_cb’:
gps.c:73:2: error: too few arguments to function ‘gps_waiting’
/usr/include/gps.h:1435:13: note: declared here
gps.c:77:2: warning: implicit declaration of function ‘gps_poll’
[-Wimplicit-function-declaration]
gps.c: In function ‘osmo_gpsd_open’:
gps.c:114:2: error: too few arguments to function ‘gps_open’
/usr/include/gps.h:1430:12: note: declared here
make[3]: *** [gps.o] Error 1
make[3]: Leaving directory
`/home/temal/dev/pkg/osmotemp/osmocom-bb/src/host/layer23/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/temal/dev/pkg/osmotemp/osmocom-bb/src/host/layer23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/temal/dev/pkg/osmotemp/osmocom-bb/src/host/layer23'
make: *** [host/layer23/layer23] Error 2




More information about the baseband-devel mailing list