Menu

#11 Build fails on musl with errors

none
closed
nobody
None
1
2017-07-07
2017-07-07
Khem Raj
No

Build fails on musl with errors e.g.

In file included from pqueue.c:7:0:
pqueue.h:21:3: error: unknown type name 'u_int32_t'
u_int32_t seq;
^~~~~~~~~
pqueue.h:28:24: error: unknown type name 'u_int32_t'; did you mean 'int128'?
int pqueue_add (u_int32_t seq, unsigned char *packet, int packlen);
^~~~~~~~~
int128
pqueue.c:20:26: error: unknown type name 'u_int32_t'; did you mean 'int128'?
static int pqueue_alloc (u_int32_t seq, unsigned char packet, int packlen, pqueue_t *new);
^~~~~~~~~
int128
pqueue.c:44:25: error: unknown type name 'u_int32_t'; did you mean 'int128'?
static int pqueue_alloc(u_int32_t seq, unsigned char packet, int packlen, pqueue_t *new) {
^~~~~~~~~
int128
pqueue.c:140:17: error: unknown type name 'u_int32_t'; did you mean 'int128'?
int pqueue_add (u_int32_t seq, unsigned char *packet, int packlen) {
^~~~~~~~~
int128

Discussion

  • Khem Raj

    Khem Raj - 2017-07-07

    Proposed fix

     

    Last edit: Khem Raj 2017-07-07
  • James Cameron

    James Cameron - 2017-07-07

    Merged, thanks.

     
  • James Cameron

    James Cameron - 2017-07-07
    • status: open --> closed
     

Log in to post a comment.