Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

gcc error: getpwuid_r struct msghdr on Solaris/SunOS #114

@wolance

Description

@wolance

hi when compile libuv, have this error.
libuv/src/unix/core.c:683:10: error: 'struct msghdr' has no member named 'msg_controllen'
if (msg->msg_controllen == 0)
libuv/src/unix/core.c:1188:9: error: too many arguments to function 'getpwuid_r'
r = getpwuid_r(uid, &pw, buf, bufsize, &result);
i dont know solve it, please help me...3q

SunOS mysunos 5.10 Generic_147148-26 i86pc i386 i86pc
libuv 1.15.1 maybe...i look up uv-version.h

图片

see libuv/libuv#1458
yes, same as, then......
图片
OK...i search some info....tell me use CC -std=gnu99
well....look nice.....then........................what..........

图片

link error.....
ok,,,,i have not other method...yours?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions