<div>Thank you Darshan and Francois for getting back to me. For the build that fails the linker tries to link with libiconv<font class="Apple-style-span" face="arial, helvetica, sans-serif"> in <span class="Apple-style-span" style="font-size: 12px; line-height: 15px; ">/Developer/SDKs/MacOSX10.6.sdk:</span></font></div>
<div><font class="Apple-style-span" face="Monaco, 'Andale Mono', 'Courier New', Courier, mono"><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"><br></span></font></div><div><font class="Apple-style-span" face="Monaco, 'Andale Mono', 'Courier New', Courier, mono"><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"><meta charset="utf-8">Build: Linking vbox-img<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
Undefined symbols:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">  "_libiconv", referenced from:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      rtStrConvertUncached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      rtstrConvertCached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int, void**)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
  "_libiconv_close", referenced from:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">      rtStrConvertUncached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      rtStrConvertUncached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      rtstrConvertCached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int, void**)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      _rtStrIconvCacheDestroy in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
  "_libiconv_open", referenced from:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">      rtStrConvertUncached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      rtstrConvertCached(void const*, unsigned long, char const*, void**, unsigned long, char const*, unsigned int, void**)in RuntimeR3.a(utf8-posix.o)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
ld: symbol(s) not found<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">collect2: ld returned 1 exit status<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
kmk: *** [/Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/obj/vbox-img/vbox-img] Error 1<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
The failing command:<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">@g++-4.2                 -mmacosx-version-min=10.6 -Wl,-syslibroot,<b>/Developer/SDKs/MacOSX10.6.sdk</b> -Wl,-headerpad_max_install_names   -m64   -o /Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/obj/vbox-img/vbox-img -filelist /Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/obj/vbox-img/vbox-img.rsp    /Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/lib/RuntimeR3.a   /Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/lib/VBox-liblzf.a   -lz   -liconv<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
kmk: *** [/Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/obj/vbox-img/vbox-img] Deleting file `/Users/adittmer/VBOX_4.X/VirtualBox-4.0.12_OSE/out/darwin.amd64/release/obj/vbox-img/vbox-img.rsp'</span></font></div>
<div><font class="Apple-style-span" face="Monaco, 'Andale Mono', 'Courier New', Courier, mono"><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"><font class="Apple-style-span" color="#2E8B57"><br>
</font></span></font></div><div><font class="Apple-style-span" face="Monaco, 'Andale Mono', 'Courier New', Courier, mono"><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"><font class="Apple-style-span" color="#2E8B57"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; line-height: normal; font-size: small; ">If I manually run the command in the same directory and force linking with the macports libiconv it actually builds. The macports library is universal:</span></font></span></font></div>
<div><font class="Apple-style-span" face="Monaco, 'Andale Mono', 'Courier New', Courier, mono"><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"><font class="Apple-style-span" color="#2E8B57"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; line-height: normal; font-size: small; "><br>
</span></font></span></font></div><div><font class="Apple-style-span"><div>SanRafael:VirtualBox-4.0.12_OSE adittmer$ file /opt/local/lib/libiconv.dylib</div><div>/opt/local/lib/libiconv.dylib: Mach-O universal binary with 2 architectures</div>
<div>/opt/local/lib/libiconv.dylib (for architecture i386):<span class="Apple-tab-span" style="white-space:pre">        </span>Mach-O dynamically linked shared library i386</div><div>/opt/local/lib/libiconv.dylib (for architecture x86_64):<span class="Apple-tab-span" style="white-space:pre">        </span>Mach-O 64-bit dynamically linked shared library x86_64</div>
</font></div><div><font class="Apple-style-span"><br></font></div><div><font class="Apple-style-span"><div>The issue is that libiconv in <span class="Apple-style-span" style="font-size: 12px; line-height: 15px; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">/Developer/SDKs/MacOSX10.6.sdk</font></span><span class="Apple-style-span" style="font-size: 12px; line-height: 15px; "><font class="Apple-style-span" face="Monaco, 'Andale Mono', 'Courier New', Courier, mono"><b> </b></font></span><span class="Apple-style-span" style="font-size: 12px; line-height: 15px; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">does not have the _libiconv symbol (and the other symbols that are missing which are _libiconv_open and _libiconv_close) for 64-bit:</font></span></div>
<div><span class="Apple-style-span" style="font-size: 12px; line-height: 15px; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></span></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><div style="font-size: 12px; line-height: 15px; ">
SanRafael:VirtualBox-4.0.12_OSE adittmer$ nm -a -arch x86_64 /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.dylib | grep libiconv</div><div style="font-size: 12px; line-height: 15px; ">00000000000fa760 D __libiconv_version</div>
<div style="font-size: 12px; line-height: 15px; ">00000000000159a4 T _libiconv_relocate</div><div style="font-size: 12px; line-height: 15px; ">000000000001599a T _libiconv_set_relocation_prefix</div><div style="font-size: 12px; line-height: 15px; ">
SanRafael:VirtualBox-4.0.12_OSE adittmer$ nm -a -arch i386 /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.dylib | grep libiconv</div><div style="font-size: 12px; line-height: 15px; ">000f5be0 D __libiconv_version</div><div style="font-size: 12px; line-height: 15px; ">
000086af T _libiconv</div><div style="font-size: 12px; line-height: 15px; ">0000fd7a T _libiconv_close</div><div style="font-size: 12px; line-height: 15px; ">000158d8 T _libiconv_open</div><div style="font-size: 12px; line-height: 15px; ">
00015dae T _libiconv_relocate</div><div style="font-size: 12px; line-height: 15px; ">00015d9f T _libiconv_set_relocation_prefix</div><div style="font-size: 12px; line-height: 15px; ">00008bd9 T _libiconvctl</div><div style="font-size: 12px; line-height: 15px; ">
00008847 T _libiconvlist</div><div style="font-size: 12px; line-height: 15px; "><br></div><div style="font-size: 12px; line-height: 15px; ">I configured with:</div><div style="font-size: 12px; line-height: 15px; "><br></div>
<div><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;">./configure --with-openssl-dir=/opt/local --disable-python --disable-java --disable-docs --target-arch=amd64</span></div><div style="font-size: 12px; line-height: 15px; ">
<br></div><div style="font-size: 12px; line-height: 15px; ">and my LocalConfig.kmk looks like this:</div><div style="font-size: 12px; line-height: 15px; "><br></div><div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;">VBOX_DEF_MACOSX_VERSION_MIN = 10.6</span></div>
<div><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;">VBOX_DARWIN_NO_COMPACT_LINKEDIT =</span></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 15px;">VBOX_MACOS_10_5_WORKAROUND =</span></div>
<div style="font-size: 12px; line-height: 15px; "><br></div></div><div style="font-size: 12px; line-height: 15px; ">Thanks again</div><div style="font-size: 12px; line-height: 15px; "><br></div><div style="font-size: 12px; line-height: 15px; ">
Arend</div><div style="font-size: 12px; line-height: 15px; "><br></div></font></div></font><br><div class="gmail_quote">On Tue, Sep 13, 2011 at 1:14 AM, François Revol <span dir="ltr"><<a href="mailto:revol@free.fr">revol@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Le 13/09/2011 09:18, K M Darshan a écrit :<br>
<div class="im">> I built it on my Mac 64 bit lion os.. I am not seeing those warnings..<br>
> Am I missing anything.. Please could you give me the command line<br>
params you built it with..<br>
><br>
<br>
</div>Did you install the libiconv from MacPorts by chance ?<br>
<br>
If so try to rebuild it as universal variant.<br>
I recall having some issues with libs from MacPorts when not installed<br>
as universal binary.<br>
<font color="#888888"><br>
François.<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>Arend Dittmer<br>TheMicroComputer<br>Phone: 415 497 7797<br>e-mail: <a href="mailto:arend@mypocketxp.com">arend@mypocketxp.com</a><br><a href="http://www.mypocketxp.com">http://www.mypocketxp.com</a> <br>

</div>