<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>I didn't see an lldb-users mailing list, so I'm sending this here hoping that it's an appropriate place.  I'm having some trouble getting lldb to build under linux, specifically, I'm ending up with this output:</div><div><br></div><div><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">/home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp:155:50: error: too many arguments to function call, expected at most 6, have 9</font></div><div><font class="Apple-style-span" color="#000000">                                                 NULL, </font></div><div><font class="Apple-style-span" color="#000000">                                                 ^~~~~</font></div><div><font class="Apple-style-span" color="#000000">/usr/local/bin/../lib/clang/3.1/include/stddef.h:47:14: note: expanded from macro 'NULL'</font></div><div><font class="Apple-style-span" color="#000000">#define NULL __null</font></div><div><font class="Apple-style-span" color="#000000">             ^~~~~~</font></div><div><font class="Apple-style-span" color="#000000">/home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/../../../../include/lldb/Core/ModuleList.h:402:5: note: 'GetSharedModule' declared here</font></div><div><font class="Apple-style-span" color="#000000">    static Error</font></div><div><font class="Apple-style-span" color="#000000">    ^</font></div><div><font class="Apple-style-span" color="#000000">/home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp:184:54: error: too many arguments to function call, expected at most 6, have 9</font></div><div><font class="Apple-style-span" color="#000000">                                                     NULL, </font></div><div><font class="Apple-style-span" color="#000000">                                                     ^~~~~</font></div><div><font class="Apple-style-span" color="#000000">/usr/local/bin/../lib/clang/3.1/include/stddef.h:47:14: note: expanded from macro 'NULL'</font></div><div><font class="Apple-style-span" color="#000000">#define NULL __null</font></div><div><font class="Apple-style-span" color="#000000">             ^~~~~~</font></div><div><font class="Apple-style-span" color="#000000">/home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/../../../../include/lldb/Core/ModuleList.h:402:5: note: 'GetSharedModule' declared here</font></div><div><font class="Apple-style-span" color="#000000">    static Error</font></div><div><font class="Apple-style-span" color="#000000">    ^</font></div><div><font class="Apple-style-span" color="#000000">6 warnings and 2 errors generated.</font></div></blockquote></div></div><div><div><br></div></div><div>I'm not really sure where to go to try and sort this out.  I'd really appreciate any hints on this front.</div><div><br></div><div>Thanks</div><div><br></div><div>Tom Davie</div></body></html>