[lldb-dev] Missing sin_len(ConnectionFileDescriptor.cpp) in linux mint?

D X stalkerqatsi at gmail.com
Wed Dec 11 08:57:08 PST 2013


Hi,

Newbie question, I think sin_len is not in linux include
files(netinet/in.h), is it it in FreeBSD?

/test/llvm/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp:1383:25:
error: no member named 'sin_len' in 'sockaddr_in'
            accept_addr.sin_len = sizeof accept_addr;
            ~~~~~~~~~~~ ^
/test/llvm/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp:1402:66:
error: no member named 'sin_len' in 'sockaddr_in'
                if (accept_addr_len == listen_addr.sockaddr_in().sin_len &&

The build worked before the following revision, sin_len was added:

http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ConnectionFileDescriptor.cpp?r1=195273&r2=196547&diff_format=h

Thx,
dx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131211/795c6b91/attachment.html>


More information about the lldb-dev mailing list