<div dir="ltr">Raphael make sure you have the command line tools installed through xcode as well.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 12:06 AM,  <span dir="ltr"><<a href="mailto:foss@psi-si.com" target="_blank">foss@psi-si.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
New report about building LibreOffice on a clean Mac OS X 10.7/XCode 4.5.<br>
<br>
10.6 SDK is from Xcode 4.3.2 dmg.<br>
<br>
I switch to Libro 4 from git://<a href="http://gerrit.libreoffice.org/core" target="_blank">gerrit.libreoffice.org/core</a><br>
<br>
Here the present compilers :<br>
<br>
 Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)<br>
 /usr/bin/clang<br>
<br>
 gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)<br>
 /usr/bin/i686-apple-darwin11-llvm-gcc-4.2<br>
<br>
 gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)<br>
 /usr/local/bin/gcc-4.2<br>
 Get from <a href="https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg" target="_blank">https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg</a><br>
<br>
Note : Clang is the default compiler<br>
<br>
Builds failed with each of their compilers.<br>
<br>
My last autogen.sh configuration :<br>
./autogen.sh  --without-doxygen --disable-python --without-help \<br>
--without-helppack-integration --without-myspell-dicts  --with-macosx-sdk=10.6 \<br>
CC="/usr/bin/clang -m32" \<br>
CXX="/usr/bin/clang++ -m32" \<br>
OBJCFLAGS=" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk" \<br>
OBJCXXFLAGS=" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk"<br>
<br>
OBJCFLAGS and OBJCXXFLAGS are to force to not search includes in /Developper<br>
<br>
I force compiler with CC and CCXX, preprocessor with CXXCPP="/usr/bin/i686-apple-darwin11-g++-4.2.1 -E"<br>
Maybe I should try different linkers.<br>
<br>
I get a different error for each combination, like this one :<br>
<br>
[build LNK] Library/updatefeed.uno.dylib<br>
Undefined symbols for architecture i386:<br>
  "[build LNK] Library/libupdchk.dylib<br>
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::operator com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&() const", referenced from:<br>
      non-virtual thunk to pq_sdbc_driver::BaseResultSet::getStatement()in pq_baseresultset.o<br>
<br>
<br>
May you post your complete toolchain ?<br>
<br>
Best regards,<br>
   Raphaël<br>
<br>_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jonathan Aquilina
</div>