[Openstreetmap] Re: Getting data from gpsd

Glen Barnes newsgroups at devour.co.nz
Sun Jul 3 10:07:49 BST 2005


Petter Reinholdtsen wrote:

>[Glen Barnes]
>  
>
>>I've got my machine dual booting with linux which has bdus
>>installed. I tried compiling the gpxlogger software on that partition
>>but I got the following error:
>>
>>undefined reference to function 'floor'.
>>
>>Any ideas on how to fix this error?
>>    
>>
>
>Not really.  I got the floor() function from C99.  Where are you
>trying to compile it?  You might try to replace it with round(), which
>will give an inaccurate result, but might be good enough.
>
>
>_______________________________________________
>Openstreetmap mailing list
>Openstreetmap at vr.ucl.ac.uk
>http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap
>
>
>  
>
I've managed to track down the problem and get it compiling. It seems 
that the autogen.sh does not add the swtich -lm to the compile. the -lm 
switch is needed to locate maths library.

Glen




More information about the talk mailing list