gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] GPSD fails to compile, Centos 6


From: Askar Ibragimov
Subject: [gpsd-users] GPSD fails to compile, Centos 6
Date: Sun, 12 Jul 2015 16:27:16 +0300

Hello,

under CentOS 6.6, I have this compiler:

address@hidden gpsd-3.15]# gcc --version
gcc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

and it gives this error:

d -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include ntpshmmon.c
gcc -o ntpshmmon -pthread ntpshmmon.o -L. -lgps_static -lm -lrt -ldbus-1
gcc -o cgps.o -c -Wmissing-prototypes -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wreturn-type -pthread -Wmissing-declarations -O2 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include cgps.c
gcc -o cgps -pthread cgps.o -L. -lgps_static -lm -lrt -ldbus-1 -lncurses
/usr/bin/ld: cgps.o: undefined reference to symbol 'LINES'
/usr/bin/ld: note: 'LINES' is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker command line
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
scons: *** [cgps] Error 1
scons: building terminated because of errors.


Now, I would be happy with GPSD alone, so do not care about cgps. Could I simply switch off the compilation of cgps somehow?

Cheers, Askar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]