[lldb-dev] Building on Linux

Thomas Davie tom.davie at gmail.com
Mon Feb 27 00:57:47 PST 2012


Hi all,

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:

> /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
>                                                  NULL, 
>                                                  ^~~~~
> /usr/local/bin/../lib/clang/3.1/include/stddef.h:47:14: note: expanded from macro 'NULL'
> #define NULL __null
>              ^~~~~~
> /home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/../../../../include/lldb/Core/ModuleList.h:402:5: note: 'GetSharedModule' declared here
>     static Error
>     ^
> /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
>                                                      NULL, 
>                                                      ^~~~~
> /usr/local/bin/../lib/clang/3.1/include/stddef.h:47:14: note: expanded from macro 'NULL'
> #define NULL __null
>              ^~~~~~
> /home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/../../../../include/lldb/Core/ModuleList.h:402:5: note: 'GetSharedModule' declared here
>     static Error
>     ^
> 6 warnings and 2 errors generated.


I'm not really sure where to go to try and sort this out.  I'd really appreciate any hints on this front.

Thanks

Tom Davie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120227/490a4c13/attachment.html>


More information about the lldb-dev mailing list