[Olsr-dev] sgwdynspeed do not compiles on OpenWRT Backfire

Jo-Philipp Wich (spam-protected)
Sun Jun 3 16:02:31 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

> 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[4]: *** [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.

~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/LbncACgkQdputYINPTPNHIgCdHlPUmoGpV60SvmutJIUrc7mI
RlIAnjj8S6tAsR8MLoXthNSX3rzTPhYl
=y1LL
-----END PGP SIGNATURE-----




More information about the Olsr-dev mailing list