[Pianod] compilation error

Perette Barella perette at barella.org
Thu May 8 05:06:56 PDT 2014


Ed,

Thanks for the report.  It looks like st_mtimespec is a modern field with improved resolution, but isn’t portable.  My bad.

    gmtime_r (&info.st_mtimespec.tv_sec, &modtime);

    gmtime_r (&info.st_mtime, &modtime);

Change st_mtimespec to st_mtime and see how that goes.  I’ll get that into the codebase shortly.

Perette


--
Perette Barella • perette at barella.org • 585-286-1312
176 Middlesex Road, Rochester NY 14610

On 2014年05月08日, at 7:32, ednewbauer at yahoo.com wrote:

> 
> greetings,
> I tried compiling build 158 on raspian wheezy, but I get an error in libfootball: fb_http.c line 929 "struct stat" has no member named "st_mtimespec".
> I followed the prereq install guide on the wiki and installed libbsd-dev as well.
> Build 151 builds great.
> Thanks!
> ed
> 
> Sent from Yahoo Mail on Android
> 
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20140508/b92f417a/attachment-0003.htm>


More information about the Pianod mailing list