[lldb-dev] Linux Build Errors w/ LLDB

Michael Sartain mikesart at gmail.com
Tue Oct 15 15:03:22 PDT 2013


I'm running into these errors while building Linux LLDB with clang 3.3
right now and r192738 for llvm, clang, and lldb:

/home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:114:18:
error: redefinition of 'Initialize'
/home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:133:18:
error: redefinition of 'Terminate'

To fix these, I had to undo the change in r192724 (see down below).

I'm also now hitting this error when linking after I fixed the above two
though:

/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:535:6:
error: no matching constructor for initialization of 'duration' (aka
'std::chrono::duration<long, std::ratio<1, 1000000> >')
          : __d(__t.time_since_epoch())
            ^   ~~~~~~~~~~~~~~~~~~~~~~

Anyone else seeing this?
Thanks.
 -Mike

-----------------------
mikesart at mikesart64:~/data/src/llvm.hg/llvm/tools/lldb (master)$ git
--no-pager diff
diff --git a/source/Plugins/Platform/Windows/PlatformWindows.h
b/source/Plugins/Platform/Windows/PlatformWindows.h
index e701751..67d3e88 100644
--- a/source/Plugins/Platform/Windows/PlatformWindows.h
+++ b/source/Plugins/Platform/Windows/PlatformWindows.h
@@ -24,10 +24,10 @@ class PlatformWindows : public Platform
 public:

     static void
-    Initialize(void) {}
+    Initialize(void);

     static void
-    Terminate(void) {}
+    Terminate(void);

     PlatformWindows(bool is_host);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131015/2a8ce086/attachment.html>


More information about the lldb-dev mailing list