Undefined symbol 'NAN'
[email protected] Mon, 2 Aug 2010 19:05:07 +0200 (CEST)
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to compile the package 'gpsd'.
Its configure script automatically searches (and finds)
'/opt/diet/bin/diet gcc' as the C compiler.
The problem is that the source code uses the symbol 'NAN' in
sentences like:
fixp->time = NAN;
and this causes a compile error:
gpsutils.c: In function 'gps_clear_fix':
gpsutils.c:35:18: error: 'NAN' undeclared (first use in this function)
...
Is it supposed to happen ?
Is there a workaround for this in dietlibc ?
giorgio
Giorgio, [email protected]