[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-raid
Subject:    Re: raidtools-pre3-0.42 doesn't compile with libc6??!!
From:       Luca Berra <bluca () comedia ! it>
Date:       1998-02-19 19:24:02
[Download RAW message or body]

On Thu, Feb 19, 1998 at 01:19:24PM -0300, Carlos Carvalho wrote:
> I'm trying to compile raidtools-pre3-0.42 in a pure-libc6 machine, and
> I get this error:
> 
> raid_io.c: In function `T':
> raid_io.c:39: storage size of `t' isn't known
> 
....
> 
> What should I do?
> 
> Carlos

I tought i already posted a fix here...
did it get trough?

--- raidtools-0.42/common.h.bluca       Fri Sep 26 12:52:40 1997
+++ raidtools-0.42/common.h     Sun Jan 25 11:28:19 1998
@@ -12,6 +12,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#if (__GLIBC__ >= 2)
+#define __need_timeval
+#endif
 #include <time.h>
 #include <sys/types.h>
 #include <unistd.h>
 
-- 
Luca Berra -- bluca@comedia.it
    System and Network Manager - CoMedia s.r.l.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic