On Tue, Oct 20, 2009 at 05:47:08PM -0700, webinfinite wrote:
> I am building Chromium on my Ubuntu box but have the following errors:
> 
> 
> /usr/bin/ld: skipping incompatible /home/yezhang/chrome/chromium_zhang/
> src/sconsbuild/Debug/lib/libnpGoogleNaClPluginChrome.a when searching
> for -lnpGoogleNaClPluginChrome
> /usr/bin/ld: cannot find -lnpGoogleNaClPluginChrome
> collect2: ld returned 1 exit status
> scons: *** [/home/yezhang/chrome/chromium_zhang/src/sconsbuild/Debug/
> chrome] Error 1
> scons: building terminated because of errors.

You're on x86_64, right?  There's a build bug on that arch where
chrome proper and nacl pick different build architectures or something
like that.  You can work around it by setting the envvar GYP_DEFINES
to target_arch=ia32 or target_arch=x64 so they don't try to pick an
arch themselves.  You'll have to run gclient runhooks to rebuild the
scons files from gyp.

     -- Jacob

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to