[lldb-dev] [Bug 19867] New: header inclusion problems while compiling lldb for MacOSX

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 27 06:40:04 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19867

            Bug ID: 19867
           Summary: header inclusion problems while compiling lldb for
                    MacOSX
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: newchief at king.net.pl
    Classification: Unclassified

I tried to build lldb from git on my MacOSX 10.9.3 using Clang 3.4-svn (XCode
5.1). I encountered two problems with header inclusion:

1. stropts.h not present in MacOSX (even with MacPorts installed) - I removed
its inclusion from tools/lldb-mi/MICmnStreamStdin.cpp and it compiled fine. Is
that #include <stropts.h> really needed?
2. errno.h inclusion is missing in tools/lldb-mi/MIUtilFileStd.cpp - I placed
#include <errno.h> before #include <string.h> line and it compiled fine.
With these two changes I was able to build lldb along with llvm, clang and
compiler-rt all fetched from their git repositories.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140527/d26561ca/attachment.html>


More information about the lldb-dev mailing list