On Sun, Oct 24, 2010 at 10:15 PM, Jeff Johnson <n3...@mac.com> wrote: > > On Oct 24, 2010, at 12:25 PM, Sriram Narayanan wrote: > >> Hello: >> >> Compiler: gcc 3.4.3 >> rpm5: rpm-5.2.1 >> Platform: openindiana (opensolaris build 147). >> >> When building rpm5, I get this error. >> >> rpmmtree.c: In function `compare_nodes': >> rpmmtree.c:1910: error: structure has no member named `st_mtimespec' >> rpmmtree.c:1910: error: structure has no member named `st_mtimespec' >> rpmmtree.c:1910: error: structure has no member named `st_mtimespec' >> > > These are new-fangled (POSIX iirc) nano-second resolution time > structures. > > There's also > st_flags > st_birthtime > (from memory) that *BSD systems use but aren't in standards. > >> In the past, I've removed the rpmmtree with the aim of getting rpm5 >> built. I've asked about the purpose of rpmmtree on -user to help >> decide whether we can live without it for the time being. >> > > Removing "works" fine. I'll try to get a proper fix as soon > as I can see what platform I need to build on. > >> Any tips on resolving this error ? >> > > Remove and ignore. There's some #define's (at least on linux) > to access the timespec structure opaquely, but older or non-standard > platforms still exist everywhere in the "real world" ...
Thanks, Jeff. > > 73 de Jeff > ______________________________________________________________________ > RPM Package Manager http://rpm5.org > Developer Communication List rpm-de...@rpm5.org > -- Belenix: www.belenix.org ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org