[Olsr-dev] sgwdynspeed do not compiles on OpenWRT Backfire
Sun Jun 3 16:02:31 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
> src/speedFile.c: In function 'readSpeedFile':
> src/speedFile.c:178: error: 'struct stat' has no member named 'st_mtim'
> src/speedFile.c:188: error: 'struct stat' has no member named 'st_mtim'
> make: *** [src/speedFile.o] Error 1
> do we have some other OpenWRT package to include ?
Nope, uClibc (at least the version used in Backfire) simply does not
support nanosecond resolution. It lacks the code to handle it and does
not export this struct field. Code using the field should be protected
with "#ifndef __UCLIBC__" or similar.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Olsr-dev