Re: compiling skalibs-1.4.1

From: Jorge Almeida <jalmeida_at_math.ist.utl.pt>
Date: Sat, 12 Oct 2013 23:51:31 +0100 (WEST)

On Sat, 12 Oct 2013, Laurent Bercot wrote:

> On 12/10/2013 22:05, Jorge Almeida wrote:
>
  Weird.
> The <time.h> header in musl contains this piece of code:
>
> and <bits/alltypes.h> defines struct timespec iff __NEED_struct_timespec
> is defined. Also, later on, under the same conditions, CLOCK_REALTIME
> gets defined.
> (I'm looking at musl-0.9.14 btw.)

I just updated to musl-0.9.14, and the CLOCK_REALTIME problem
disappeared. The ip46 problem remains. I edited ip46_scanlist.c
following your advise, and it still has problems:

exec ./compile ip46_scanlist.c
ip46_scanlist.c: In function 'ip46full_scanlist':
ip46_scanlist.c:14:5: error: unknown type name 'ip46_tfull'
ip46_scanlist.c:15:48: error: request for member 'ip' in something not a
structure or union
ip46_scanlist.c:16:13: error: request for member 'is6' in something not
a structure or union
ip46_scanlist.c:19:28: error: request for member 'ip' in something not a
structure or union
ip46_scanlist.c:21:8: error: request for member 'is6' in something not a
structure or union
ip46_scanlist.c:23:12: error: incompatible types when assigning to type
'struct ip46full_s' from type 'int'
make[2]: *** [ip46_scanlist.o] Error 1

The other suggestions regarding headers point to stuff somewhat above
my league. I can do with the current working versions of skalibs et al.
Maybe the next version of aboriginal will make all this easier!

Thanks.

Jorge
Received on Sat Oct 12 2013 - 22:51:31 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC