[chromium-dev] Re: chrome build problem on Ubuntu
http://groups.google.com/group/chromium-dev/browse_thread/thread/130391aa1809e41e Also: I am glad you mailed chromium-dev rather than me. On Tue, Oct 20, 2009 at 5:47 PM, webinfinite webinfin...@gmail.com wrote: Hi, 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. Please advise. Thanks for the help. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: chrome build problem on Ubuntu
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 -~--~~~~--~~--~--~---