Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: librump doesn't compile



On Sun, Mar 29, 2009 at 10:59:48PM +0200, Christos Zoulas wrote:
> In article <20090329202431.GA9196%isb2501.ub.uni-mainz.de@localhost>,
> Kurt Schreiner  <ks%ub.uni-mainz.de@localhost> wrote:
> >Hi,
> >
> >"build.sh ... distribution" fails in librump:
> >
> >    compile  librump/emul.o
> >/u/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/emul.c:719:
> >error: conflicting types for 'inittimeleft'
> [...]
> 
> Grr I did not realize we had another copy of these. CVS update.
...and apply the following additional patch ;-)

Index: emul.c
===================================================================
RCS file: /cvsroot/src/sys/rump/librump/rumpkern/emul.c,v
retrieving revision 1.82
diff -u -r1.82 emul.c
--- emul.c      29 Mar 2009 20:59:17 -0000      1.82
+++ emul.c      29 Mar 2009 21:38:49 -0000
@@ -715,7 +715,7 @@
  * (((seriously)))
  */
 int
-inittimeleft(struct timeval *ts, struct timeval *sleepts)
+inittimeleft(struct timespec *ts, struct timespec *sleepts)
 {
        if (itimespecfix(ts))
                return -1;


At least librump compiles again now...

Kurt


Home | Main Index | Thread Index | Old Index