On Wed, Jun 14, 2006 at 07:40:42PM -0600, Chris Kuethe wrote:
> lots of fun changes since 2.29. New data logging tools, unit
> conversions should all be done correctly now, port speed can be fixed
> at compile time if you're into that sort of thing...

I get an error when linking xgps:

/usr/local/bin/libtool  --tag=CC --mode=link cc  -O2 -pipe -Wall -Wcast-align 
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith 
-Wreturn-type -D_GNU_SOURCE  -I/usr/X11R6/include   -L/usr/local/lib  
-L/usr/X11R6/lib -o xgps  display.o xgps.o -lm -lc   -lXm -lXt -L/usr/X11R6/lib 
-lSM -lICE libgps.la -lm -lpthread 
cc -O2 -pipe -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes 
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE 
-I/usr/X11R6/include -o .libs/xgps display.o xgps.o  -L/usr/local/lib 
-L/usr/X11R6/lib -lXm -lXt -lSM -lICE -L./.libs -lgps -lm -lpthread 
-Wl,-rpath,/usr/local/lib
xgps.o(.text+0xc84): In function `update_panel':
: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libXm.so.3.0: warning: sprintf() is often misused, please use 
snprintf()
/usr/local/lib/libXm.so.3.0: warning: strcat() is almost always misused, please 
use strlcat()
xgps.o(.text+0xec4): In function `update_panel':
: undefined reference to `deg_to_str'
xgps.o(.text+0xf35): In function `update_panel':
: undefined reference to `deg_to_str'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/obj/gpsd-2.33/gpsd-2.33 (line 717 of Makefile).

Reply via email to