[vbox-dev] Config.kmk needs changed when build on Snow Leopard

Kentaro KAWAMOTO kentaro.kawamoto at gmail.com
Thu Jun 17 08:54:58 PDT 2010


Hi,

On Wed, Jun 16, 2010 at 1:53 AM, Christian Pötzsch
<Christian.Poetzsch at sun.com> wrote:
> that is rather strange. Are you sure that it doesn't work with a
> unmodified Config.kmk. Also make sure there isn't any LocalConfig.kmk.

I am using LocalConfig.kmk following the instructions.
Otherwise build fails with message "Using 10.5 SDK"

% kmk
Config.kmk:1948:
/Users/kentaro/work/vbox/out/darwin.amd64/release/GCCConfig.kmk: No
such file or directory
Config.kmk:4245:
/Users/kentaro/work/vbox/out/darwin.amd64/release/revision.kmk: No
such file or directory
/Users/kentaro/work/vbox/kBuild/footer.kmk:2573: *** Using 10.5 SDK.  Stop.

> Your patch removes the -mmacosx-version-min and -syslibroot params which
> are necessary to select the right sdk.

Sorry for the broken patch. Please find the patch attached.
I don't think I removed -mmacosx-version-min and -syslibroot.


> A quick look on my local system shows that it links against
> /usr/lib/libiconv.2.dylib and this works fine. Please make also sure
> that you didn't have any other libiconv flying around (/usr/local!).

"find / -name libiconv.2.dylib -print" gave me 6 libs (and bunch of
libs for iPhones. see the bottom of this email).

1. /usr/lib/libiconv.2.dylib
2. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libiconv.2.dylib
3. /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.2.dylib
4. /opt/local/lib/libiconv.2.dylib
5. /opt/local/var/macports/software/libiconv/1.13.1_0/opt/local/lib/libiconv.2.dylib
6. /opt/local/var/macports/software/libiconv/1.13.1_0+universal/opt/local/lib/libiconv.2.dylib

shasum
1. a78c2061cb45e63b38def05038c058f952262d80
2. 8a4c7d6dea5b62f46bbe343a5140c32f31bf2c3e
3. 55ae1ca6f532a227d0845e63225a24624b9bcde5
4. 1c0f24a74c00602e76ba4e948ba23bfd57326891
5. f9e79c57383496f32b7bfda14681fe920a57e43b
6. 1c0f24a74c00602e76ba4e948ba23bfd57326891

Could you compare shasum of your /usr/lib/libiconv.2.dylib with mine?


Thanks,
Ken


libiconv.2.dylib for iPhone:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk/usr/lib/libiconv.2.dylib
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/libiconv.2.dylib


-- 
Kentaro KAWAMOTO
kentaro.kawamoto at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbox.SnowLeopard64bit.patch
Type: application/octet-stream
Size: 845 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100618/7d5e6ca0/attachment-0001.obj 


More information about the vbox-dev mailing list