<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the fix Greg, unfortunately, there appears to still be an issue here re linking:<div><br></div><div>llvm[3]: Linking Release+Asserts Shared Library liblldb.so</div><div>/home/tatd2/build/Release+Asserts/lib/liblldbInitAndLog.a(lldb.o): In function `lldb_private::Initialize()':</div><div>/home/tatd2/llvm/tools/lldb/source/lldb.cpp:(.text+0xdf): undefined reference to `PlatformFreeBSD::Initialize()'</div><div><br></div><div>(and similarly in Terminate)</div><div><br></div><div>Cheers</div><div><br></div><div>Tom Davie<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><span class="Apple-style-span" style="font-family: Arial; "><pre>if (*ra4 != 0xffc78948) { return false; }</pre></span></div></span>
</div>
<br><div><div>On 27 Feb 2012, at 19:17, Greg Clayton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>% svn commit<br>Sending        lldb.xcodeproj/project.pbxproj<br>Sending        source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp<br>Sending        source/Plugins/Platform/Linux/PlatformLinux.cpp<br>Sending        source/Plugins/Platform/Linux/PlatformLinux.h<br>Sending        source/lldb.cpp<br>Transmitting file data .....<br>Committed revision 151539.<br><br><br>Fixed!<br><br>I also changed the Mac build to always build PlatformLinux, PlatformFreeBSD and the POSIX-DYLD plug-ins to help catch these things in the future.<br><br><br>On Feb 27, 2012, at 12:57 AM, Thomas Davie wrote:<br><br><blockquote type="cite">Hi all,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">/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<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">                                                 NULL, <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">                                                 ^~~~~<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/usr/local/bin/../lib/clang/3.1/include/stddef.h:47:14: note: expanded from macro 'NULL'<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#define NULL __null<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">             ^~~~~~<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/../../../../include/lldb/Core/ModuleList.h:402:5: note: 'GetSharedModule' declared here<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">    static Error<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">    ^<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/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<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">                                                     NULL, <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">                                                     ^~~~~<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/usr/local/bin/../lib/clang/3.1/include/stddef.h:47:14: note: expanded from macro 'NULL'<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">#define NULL __null<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">             ^~~~~~<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/home/tatd2/llvm/tools/lldb/source/Plugins/Platform/Linux/../../../../include/lldb/Core/ModuleList.h:402:5: note: 'GetSharedModule' declared here<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">    static Error<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">    ^<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">6 warnings and 2 errors generated.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm not really sure where to go to try and sort this out.  I'd really appreciate any hints on this front.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tom Davie<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">lldb-dev mailing list<br></blockquote><blockquote type="cite"><a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br></blockquote><blockquote type="cite"><a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br></blockquote><br></div></blockquote></div><br></div></body></html>