My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
Search
for
LinuxBuildInstructions  
Build instructions for Linux
Linux, build
Updated Jul 10, 2014 by thakis@chromium.org

Overview

Due its complexity, Chromium uses a set of custom tools to check out and build. Here's an overview of the steps you'll run:

  1. gclient. A checkout involves pulling nearly 100 different SVN repositories of code. This process is managed with a tool called gclient.
  2. gyp. The cross-platform build configuration system is called gyp, and on Linux it generates ninja build files. Running gyp is analogous to the ./configure step seen in most other software.
  3. ninja. The actual build itself uses ninja. A prebuilt binary is in depot_tools and should already be in your path if you followed the steps to check out Chromium.
  4. We don't provide any sort of "install" step.
  5. You may want to use a chroot to isolate yourself from versioning or packaging conflicts (or to run the layout tests).

Getting a checkout

Note. If you are working on Chromium OS and already have sources in chromiumos/chromium, you must run chrome_set_ver --runhooks to set the correct dependencies. This step is otherwise performed by gclient as part of your checkout.

First Time Build Bootstrap

  • Make sure your dependencies are up to date by running the install-build-deps.sh script:
  • .../chromium/src$ build/install-build-deps.sh 

gyp (configuring)

After gclient sync finishes, it will run gyp automatically to generate the ninja build files. For standard chromium builds, this automatic step is sufficient and you can start compiling.

To manually configure gyp, run gclient runhooks or run gyp directly via build/gyp_chromium. See Configuring the Build for detailed gyp options.

GypUserDocumentation gives background on gyp, but is not necessary if you are just building Chromium.

Configuring gyp

See Configuring the Build for details; most often you'll be changing the GYP_DEFINES options, which is discussed here.

gyp supports a minimal amount of build configuration via the -D flag.

build/gyp_chromium -Dflag1=value1 -Dflag2=value2

You can store these in the GYP_DEFINES environment variable, separating flags with spaces, as in:

 export GYP_DEFINES="flag1=value1 flag2=value2"

After changing your GYP_DEFINES you need to rerun gyp, either implicitly via gclient sync (which also syncs) or gclient runhooks or explicitly via build/gyp_chromium.

Note that quotes are not necessary for a single flag, but are useful for clarity; GYP_DEFINES=flag1=value1 is syntactically valid but can be confusing compared to GYP_DEFINES="flag1=value1".

If you have various flags for various purposes, you may find it more legible to break them up across several lines, taking care to include spaces, such as like this:

 export GYP_DEFINES="flag1=value1"\
 " flag2=value2"

or like this (allowing comments):

 export GYP_DEFINES="flag1=value1" # comment
 GYP_DEFINES+=" flag2=value2" # another comment

Sample configurations

  • gcc warnings. By default we fail to build if there are any compiler warnings. If you're getting warnings, can't build because of that, but just want to get things done, you can specify -Dwerror= to turn that off:
  • # one-off
    build/gyp_chromium -Dwerror=
    # via variable
    export GYP_DEFINES="werror="
    build/gyp_chromium
  • ChromeOS. -Dchromeos=1 builds the ChromeOS version of Chrome. This is not all of ChromeOS (see the ChromiumOS page for full build instructions), this is just the slightly tweaked version of the browser that runs on that system. Its not designed to be run outside of ChromeOS and some features won't work, but compiling on your Linux desktop can be useful for certain types of development and testing.
  • # one-off
    build/gyp_chromium -Dchromeos=1
    # via variable
    export GYP_DEFINES="chromeos=1"
    build/gyp_chromium

Compilation

The weird "src/" directory is an artifact of gclient. Start with:

$ cd src

Build just chrome

$ ninja -C out/Debug chrome

Faster builds

See LinuxFasterBuilds

Build every test

$ ninja -C out/Debug

The above builds all libraries and tests in all components. It will take hours.

Specifying other target names to restrict the build to just what you're interested in. To build just the simplest unit test:

$ ninja -C out/Debug base_unittests

Clang builds

Information about building with Clang can be found here.

Output

Executables are written in src/out/Debug/ for Debug builds, and src/out/Release/ for Release builds.

Release mode

Pass -C out/Release to the ninja invocation:

$ ninja -C out/Release chrome

Seeing the commands

If you want to see the actual commands that ninja is invoking, add -v to the ninja invocation.

$ ninja -v -C out/Debug chrome

This is useful if, for example, you are debugging gyp changes, or otherwise need to see what ninja is actually doing.

Clean builds

All built files are put into the out/ directory, so to start over with a clean build, just

rm -rf out

and run gclient runhooks or build\gyp_chromium again to recreate the ninja build files (which are also stored in out/). Or you can run ninja -C out/Debug -t clean.

Linker Crashes

If, during the final link stage:

  LINK(target) out/Debug/chrome

You get an error like:

collect2: ld terminated with signal 6 Aborted terminate called after throwing an instance of 'std::bad_alloc'

collect2: ld terminated with signal 11 [Segmentation fault], core dumped 

you are probably running out of memory when linking. Try one of:

  1. Use the gold linker
  2. Build on a 64-bit computer
  3. Build in Release mode (debugging symbols require a lot of memory)
  4. Build as shared libraries (note: this build is for developers only, and may have broken functionality)
Most of these are described on the LinuxFasterBuilds page.

Advanced Features

Next Steps

If you want to contribute to the effort toward a Chromium-based browser for Linux, please check out the Linux Development page for more information.

Comment by zhangxia...@gmail.com, May 7, 2010

The source code from the tar ball has subversion work-copy format 1.5, however, ubuntu 8.04 LTS comes with subversion 1.4, we need http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py to down grade it. I suggest Google use default 1.4 format in the tar ball for the maximum interoperability.

(BTW, get source code instructions is hosted on Google Sites, and I can't leave a comment there)

Comment by rkll...@gmail.com, Aug 7, 2010

Because Chromium is developed with recent libraries, the built binary won't run on CentOS 5/RHEL 5. I would like to try to use another system (Fedora 13) to create a static build of Chromium that might actually run on the world's most popular commercial Linux, but I have no idea how to produce a static Chromium binary. I looked at the bug site and in the various build docs, plus various Makefiles and it looks like no-one has ever considered building Chromium statically. Or did I miss something? Should I file a bug on this?

Comment by j...@google.com, Aug 11, 2010

Tip: If you get a request for "Password for '(null)' GNOME keyring: " (see below), you may want to try deleting the "login" user from the "Passwords and Encryption Keys" app,

found .git directory; skipping src Password for '(null)' GNOME keyring:

running 'svn update /usr/local/space/home/gspencer/depot/chrome/cros_deps' in '/usr/local/space/home/gspencer/depot/chrome' svn: GNOME Keyring is locked and we are non-interactive Error: failed to run command: svn update /usr/local/space/home/gspencer/depot/chrome/cros_deps -- What exactly is the GNOME keyring (it's not my usual chromium key), and why can't I sync unless it's

Comment by gregsimon@chromium.org, Mar 11, 2011

If you are running 32-bit Linux kernel you may run into the following during linking of test_shell or chrome:

   /usr/bin/ld: fatal error: pthread_create failed: Resource temporarily unavailable

To get around this do not use the gold linker. There are reports of this from Ubuntu running on both vmware and parallels.

Comment by somethin...@gmail.com, Aug 23, 2011

Is there a comprehensive list of all the chromium compile flags somewhere?

Comment by gna...@me.com, Sep 20, 2011

after that the 'make chrome' is finished, what you're supposed to do to run it? :/

Comment by tomorrow...@gmail.com, Nov 7, 2011

bison: cannot open file `external/bison/data/m4sugar/m4sugar.m4': No such file or directory Traceback (most recent call last):

File "scripts/rule_bison.py", line 73, in <module>
assert returnCode == 0
AssertionError? make: [out/Debug/obj/gen/webkit/CSSGrammar.cpp] Error 1

Comment by hitap...@gmail.com, Dec 20, 2011

make chrome fail:

`Compile src/untrusted/stubs/crti_x86_32.S ../native_client/toolchain/linux_x86_newlib/x86_64-nacl/bin/gcc -c src/untrusted/stubs/crti_x86_32.S -o /home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crti.o -std=gnu99 -m32 -O3 -fomit-frame-pointer -mtls-use-call -DNACL_BLOCK_SHIFT=5 -DNACL_BLOCK_SIZE=32 -DNACL_BUILD_ARCH=x86 -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_SUBARCH=32 -I/home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/include -I.. -I../ppapi -I.. -I../ppapi

>>>../native_client/build/build_nexe.py>> <<--compile>> <<--no-suffix>> <<--strip=x86_32>> <<--arch>> <<x86-32>> <<--build>> <<newlib_nlib>> <<--root>> <<..>> <<--name>> <</home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crt_initfini_dummy>> <<--objdir>> <</home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32>> <<--include-dirs>> <</home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/include .. ../ppapi .. ../ppapi>> <<--lib-dirs>> << >> <<--compile_flags>> <<-m32 -O3 -fomit-frame-pointer -mtls-use-call>> <<-DNACL_BLOCK_SHIFT=5>> <<-DNACL_BLOCK_SIZE=32>> <<-DNACL_BUILD_ARCH=x86>> <<-D__linux__>> <<-DSTDC_LIMIT_MACROS=1>> <<-DSTDC_FORMAT_MACROS=1>> <<-D_GNU_SOURCE=1>> <<-D_BSD_SOURCE=1>> <<-D_POSIX_C_SOURCE=199506>> <<-D_XOPEN_SOURCE=600>> <<-DDYNAMIC_ANNOTATIONS_ENABLED=1>> <<-DDYNAMIC_ANNOTATIONS_PREFIX=NACL>> <<-DNACL_BUILD_SUBARCH=32>> <<--link_flags>> <<-m32 -B/home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32 >> <<src/untrusted/stubs/crti_x86_32.S>> <<src/untrusted/stubs/crtn_x86_32.S<<

../native_client/build/build_nexe.py --compile --no-suffix --strip=x86_32 --arch x86-32 --build newlib_nlib --root .. --name /home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crt_initfini_dummy --objdir /home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32 --include-dirs /home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/include .. ../ppapi .. ../ppapi --lib-dirs --compile_flags -m32 -O3 -fomit-frame-pointer -mtls-use-call -DNACL_BLOCK_SHIFT=5 -DNACL_BLOCK_SIZE=32 -DNACL_BUILD_ARCH=x86 -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_SUBARCH=32 --link_flags -m32 -B/home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32 src/untrusted/stubs/crti_x86_32.S src/untrusted/stubs/crtn_x86_32.S<<

../native_client/toolchain/linux_x86_newlib/x86_64-nacl/bin/gcc -c src/untrusted/stubs/crti_x86_32.S -o /home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crti.o -std=gnu99 -m32 -O3 -fomit-frame-pointer -mtls-use-call -DNACL_BLOCK_SHIFT=5 -DNACL_BLOCK_SIZE=32 -DNACL_BUILD_ARCH=x86 -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_SUBARCH=32 -I/home/testbox/softs/chronium/home/chrome-svn/tarball/chromium/src/out/Debug/obj/gen/tc_newlib/include -I.. -I../ppapi -I.. -I../ppapi FAILED: 2? No such file or directory

make: [out/Debug/obj/gen/tc_newlib/lib32/crt_initfini_dummy] Erreur 255`

Comment by nw...@detroitsci.com, Jan 5, 2012

Re: "make chrome fail" by hitap...@gmail.com, Dec 20, 2011

The "FAILED: [Errno 2] No such file or directory" error is misleading. If you try to run gcc from the command line, you'll see that there are dependencies missing (the following on Centos 6/64bit):

[root@dtw-10-4-20-55 native_client]# ../native_client/toolchain/linux_x86_newlib/x86_64-nacl/bin/gcc -bash: ../native_client/toolchain/linux_x86_newlib/x86_64-nacl/bin/gcc: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

This can be resolved by adding the glibc.i686 library and other missing libs (as root): yum install glibc.i686 libstdc++.so.6 libz.so.1

HTH Nathan

Comment by esaul...@gmail.com, Jan 8, 2012

Thank you for your prompt response, Nathan. I am in the same situation except that I am on an LFS system, and in order to get an x86 version of glibc, I'd have to first build a cross compiler to create x86 binaries, and then build a 32 bit version of uClibc, which translates into pain. Isn't there another way around this?

Comment by esaul...@gmail.com, Jan 8, 2012

I think I figured it out - disabling nacl does the trick! ./build/gyp_chromium disable_nacl=1 found it here - http://code.google.com/p/chromium/wiki/LinuxFasterBuilds

Comment by christop...@gmail.com, Feb 6, 2012

Using - webRTC enabled chrome 18.0.1027.0 compiled for linux - peerconnection_server - http://libjingle.googlecode.com/svn/trunk/talk/examples/peerconnection/server/server_test.html for testserver

I don't get the "CALL" functionality on the test page, only "message". New to network, so I didn't quite get the "note" at the bottom of http://code.google.com/p/webrtc/source/browse/trunk/test/functional_test/README.

Help please!! Xtof

Comment by esaul...@gmail.com, Feb 7, 2012

I have seen this in a post here, but it's expired or was removed, however I am experiencing the same issue with gamepad and libudev

 out/Release/obj.target/content/../content_browser/content/browser/gamepad/platform_data_fetcher_linux.o: In function  
 content::GamepadPlatformDataFetcherLinux::IsGamepad(udev_device*, int&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
 platform_data_fetcher_linux.cc:(.text._ZN7content31GamepadPlatformDataFetcherLinux9IsGamepadEP11udev_deviceRiRSs+0x2c): undefined reference to 
 `udev_device_get_property_value(udev_device*, char const*)'

and so on ad nauseam . . . libudev.so.0.5.1 is there with all the symbolic links, and all the functions that it complains about finding are there. Everything is pure 64 bit. Perhaps there is a way to simply turn off gamepad? I don't think I need this on my desktop . . .

Comment by ami...@gmail.com, Jul 11, 2012

I was wondering if anyone has successfully built Chromium on Ubuntu 12.04 LTS 64 bit. "make chrome -j4" always keeps generating gyp for icu with a warning. While it works just fine with Ubuntu 10.04 64bit.

Comment by Serhii.K...@gmail.com, Jul 17, 2012
free service <a href="http://eeemail.net">eeemail.net can export contacts from gmail</a> as well as to extract all email addresses from yahoo, aolmail etc . and other mail boxes
Comment by rodoguti...@gmail.com, Jul 21, 2012

Hi I was wondering why there isn't an update of linux chromium version.

We are in the 18 version while the other platforms are in 22.

Thank you in advance.

Comment by nsdra...@gmail.com, Jul 31, 2012

I suspect you're talking about the Ubuntu PPA. It has been abandoned for a while (I'd love to see it active as well), but non-Ubuntu specific Linux builds have been released. One way to get them is this:

http://download-chromium.appspot.com/

Comment by 8723pcj...@gmail.com, Aug 20, 2012

step 1, go to ubuntu software center 2. download chromium

well done

Comment by rakeshgk...@gmail.com, Aug 28, 2012

Can any one help me with this -

I was syncing the latest codebase by making use of the gclient sync --force command when i encountered this error

1>svn: UUID mismatch: existing directory '/home/XXX/chrome_build/home/chrome-svn/tarball/chromium/src/third_party/pywebsocket' was checked out from a different repository 1>Sleeping 6.5 seconds and retrying.... 1> running 'svn update /home/XXX/chrome_build/home/chrome-svn/tarball/chromium/src --non-interactive --force --accept theirs-conflict --ignore-externals' in '/home/XXX/chrome_build/home/chrome-svn/tarball/chromium' 1>svn: UUID mismatch: existing directory '/home/XXX/chrome_build/home/chrome-svn/tarball/chromium/src/third_party/pywebsocket' was checked out from a different repository Error: Command svn update /home/XXX/chrome_build/home/chrome-svn/tarball/chromium/src --non-interactive --force --accept theirs-conflict --ignore-externals returned non-zero exit status 1 in /home/XXX/chrome_build/home/chrome-svn/tarball/chromium

Comment by yaowenj...@gmail.com, Sep 9, 2012

$make ACTION chromium_src_native_client_tools_gyp_crt_init_32_target_build_newlib_x86_32_nlib out/Debug/obj/gen/tc_newlib/lib32/crti.o

>>>../native_client/build/build_nexe.py>> <<--compile>> <<--no-suffix>> <<--strip=x86_32>> <<--arch>> <<x86-32>> <<--build>> <<newlib_nlib>> <<--root>> <<..>> <<--name>> <</chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crti.o>> <<--objdir>> <</chromium/src/out/Debug/obj/gen/tc_newlib/lib32>> <<--include-dirs=/chromium/src/out/Debug/obj/gen/tc_newlib/include .. ../ppapi src/third_party ..>> <<--lib-dirs=>> <<--compile_flags=-m32 -O3 -g -fomit-frame-pointer -fasynchronous-unwind-tables -mtls-use-call >> <<--defines=linux "STDC_LIMIT_MACROS=1" "STDC_FORMAT_MACROS=1" "GNU_SOURCE=1" "BSD_SOURCE=1" "POSIX_C_SOURCE=199506" "XOPEN_SOURCE=600" "DYNAMIC_ANNOTATIONS_ENABLED=1" "DYNAMIC_ANNOTATIONS_PREFIX=NACL" "NACL_BUILD_ARCH=x86" "FILE_OFFSET_BITS=64" "NACL_LINUX=1" "NACL_OSX=0" "NACL_WINDOWS=0" "BSD_SOURCE=1" "POSIX_C_SOURCE=199506" "XOPEN_SOURCE=600" "GNU_SOURCE=1" "STDC_LIMIT_MACROS=1" CHROMIUM_BUILD "TOOLKIT_VIEWS=1" UI_COMPOSITOR_IMAGE_TRANSPORT "USE_AURA=1" "USE_ASH=1" "USE_NSS=1" "OS_CHROMEOS=1" "FILE_MANAGER_EXTENSION=1" "ENABLE_REMOTING=1" "ENABLE_WEBRTC=1" ENABLE_CONFIGURATION_POLICY ENABLE_INPUT_SPEECH ENABLE_NOTIFICATIONS "ENABLE_HIDPI=1" "ENABLE_GPU=1" "ENABLE_EGLIMAGE=1" "USE_SKIA=1" "ENABLE_TASK_MANAGER=1" "ENABLE_WEB_INTENTS=1" "ENABLE_EXTENSIONS=1" "ENABLE_PROTECTOR_SERVICE=1" "ENABLE_SESSION_SERVICE=1" "ENABLE_THEMES=1" "ENABLE_BACKGROUND=1" "ENABLE_AUTOMATION=1" "ENABLE_PRINTING=1" "ENABLE_CAPTIVE_PORTAL_DETECTION=1" "NACL_TARGET_SUBARCH=32" "NACL_TARGET_ARCH=x86" "NACL_BUILD_SUBARCH=32" "NACL_BUILD_ARCH=x86">> <<--link_flags=-m32 -B/chromium/src/out/Debug/obj/gen/tc_newlib/lib32 >> <<--source-list=newlib-x86-32.crt_init_32.source_list.gypcmd<<

../native_client/build/build_nexe.py --compile --no-suffix --strip=x86_32 --arch x86-32 --build newlib_nlib --root .. --name /chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crti.o --objdir /chromium/src/out/Debug/obj/gen/tc_newlib/lib32 --include-dirs=/chromium/src/out/Debug/obj/gen/tc_newlib/include .. ../ppapi src/third_party .. --lib-dirs= --compile_flags=-m32 -O3 -g -fomit-frame-pointer -fasynchronous-unwind-tables -mtls-use-call --defines=linux "STDC_LIMIT_MACROS=1" "STDC_FORMAT_MACROS=1" "GNU_SOURCE=1" "BSD_SOURCE=1" "POSIX_C_SOURCE=199506" "XOPEN_SOURCE=600" "DYNAMIC_ANNOTATIONS_ENABLED=1" "DYNAMIC_ANNOTATIONS_PREFIX=NACL" "NACL_BUILD_ARCH=x86" "FILE_OFFSET_BITS=64" "NACL_LINUX=1" "NACL_OSX=0" "NACL_WINDOWS=0" "BSD_SOURCE=1" "POSIX_C_SOURCE=199506" "XOPEN_SOURCE=600" "GNU_SOURCE=1" "STDC_LIMIT_MACROS=1" CHROMIUM_BUILD "TOOLKIT_VIEWS=1" UI_COMPOSITOR_IMAGE_TRANSPORT "USE_AURA=1" "USE_ASH=1" "USE_NSS=1" "OS_CHROMEOS=1" "FILE_MANAGER_EXTENSION=1" "ENABLE_REMOTING=1" "ENABLE_WEBRTC=1" ENABLE_CONFIGURATION_POLICY ENABLE_INPUT_SPEECH ENABLE_NOTIFICATIONS "ENABLE_HIDPI=1" "ENABLE_GPU=1" "ENABLE_EGLIMAGE=1" "USE_SKIA=1" "ENABLE_TASK_MANAGER=1" "ENABLE_WEB_INTENTS=1" "ENABLE_EXTENSIONS=1" "ENABLE_PROTECTOR_SERVICE=1" "ENABLE_SESSION_SERVICE=1" "ENABLE_THEMES=1" "ENABLE_BACKGROUND=1" "ENABLE_AUTOMATION=1" "ENABLE_PRINTING=1" "ENABLE_CAPTIVE_PORTAL_DETECTION=1" "NACL_TARGET_SUBARCH=32" "NACL_TARGET_ARCH=x86" "NACL_BUILD_SUBARCH=32" "NACL_BUILD_ARCH=x86" --link_flags=-m32 -B/chromium/src/out/Debug/obj/gen/tc_newlib/lib32 --source-list=newlib-x86-32.crt_init_32.source_list.gypcmd<<

../native_client/toolchain/linux_x86_newlib/x86_64-nacl/bin/gcc -c src/untrusted/stubs/crti_x86_32.S -o /chromium/src/out/Debug/obj/gen/tc_newlib/lib32/crti.o -std=gnu99 -m32 -O3 -g -fomit-frame-pointer -fasynchronous-unwind-tables -mtls-use-call -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_ARCH=x86 -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -DSTDC_LIMIT_MACROS=1 -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_NSS=1 -DOS_CHROMEOS=1 -DFILE_MANAGER_EXTENSION=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DNACL_BUILD_SUBARCH=32 -DNACL_BUILD_ARCH=x86 -I/chromium/src/out/Debug/obj/gen/tc_newlib/include -I.. -I../ppapi -Isrc/third_party -I.. FAILED: 2? No such file or directory

make: [out/Debug/obj/gen/tc_newlib/lib32/crti.o] Error 1

Comment by pschamp...@gmail.com, Sep 11, 2012

@8723pcj It is out of date the Ubuntu based chromium package. Building the package much more better.

Comment by chk....@gmail.com, Oct 2, 2012

ubuntu 12.04 LTS amd64. make chrome error:

FAILED with 127: /home/user/chromium/src/out/Debug/obj/gen/sdk/toolchain/linux_x86_pnacl/newlib/bin/pnacl-clang -c gc_hooks.c -o /home/user/chromium/src/out/Debug/obj.target/nacl_lib_newlib/geni/pnacl_newlib-pnacl/nacl_lib_newlib/gc_hooks.o -MD -MF /home/user/chromium/src/out/Debug/obj.target/nacl_lib_newlib/geni/pnacl_newlib-pnacl/nacl_lib_newlib/gc_hooks.o.d -std=gnu99 -Wno-extra-semi -Wno-unused-private-field -O2 -g -Wall -fdiagnostics-show-option -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_ARCH=x86 -D_FILE_OFFSET_BITS=64 -DNACL_ANDROID=0 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -DSTDC_LIMIT_MACROS=1 -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DNACL_BUILD_SUBARCH=64 -DNACL_BUILD_ARCH=x86 -I/home/user/chromium/src/out/Debug/obj/gen/tc_pnacl_newlib/include -I../../../.. -I../../../../ppapi -I../../../src/third_party -I../../../..

make: [out/Debug/obj/gen/tc_pnacl_newlib/lib/libnacl.a] Error 1 make: Waiting for unfinished jobs....

Comment by goo...@counter.cc, Oct 9, 2012

same Problem here:

FAILED with 127: /home/bob/chromium/home/src_tarball/tarball/chromium/src/out/Release/obj/gen/sdk/toolchain/linux_x86_pnacl/newlib/bin/pnacl-clang -c gc_hooks.c -o /home/bob/chromium/home/src_tarball/tarball/chromium/src/out/Release/obj.target/nacl_lib_newlib/geni/pnacl_newlib-pnacl/nacl_lib_newlib/gc_hooks.o -MD -MF /home/bob/chromium/home/src_tarball/tarball/chromium/src/out/Release/obj.target/nacl_lib_newlib/geni/pnacl_newlib-pnacl/nacl_lib_newlib/gc_hooks.o.d -std=gnu99 -Wno-extra-semi -Wno-unused-private-field -O2 -g -Wall -fdiagnostics-show-option -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_ARCH=x86 -D_FILE_OFFSET_BITS=64 -DNACL_ANDROID=0 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -DSTDC_LIMIT_MACROS=1 -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DNACL_BUILD_SUBARCH=64 -DNACL_BUILD_ARCH=x86 -I/home/bob/chromium/home/src_tarball/tarball/chromium/src/out/Release/obj/gen/tc_pnacl_newlib/include -I../../../.. -I../../../../ppapi -I../../../src/third_party -I../../../..

make: [out/Release/obj/gen/tc_pnacl_newlib/lib/libnacl.a] Error 1

Comment by Hokein...@gmail.com, Oct 11, 2012

The sample problem build chromium on ubuntu12.04 TLS 64bits:

FAILED with 127: /home/linux/chromium-src/src/out/Debug/obj/gen/sdk/toolchain/linux_x86_pnacl/newlib/bin/pnacl-clang -c gc_hooks.c -o /home/linux/chromium-src/src/out/Debug/obj.target/nacl_lib_newlib/geni/pnacl_newlib-pnacl/nacl_lib_newlib/gc_hooks.o -MD -MF /home/linux/chromium-src/src/out/Debug/obj.target/nacl_lib_newlib/geni/pnacl_newlib-pnacl/nacl_lib_newlib/gc_hooks.o.d -std=gnu99 -Wno-extra-semi -Wno-unused-private-field -O2 -g -Wall -fdiagnostics-show-option -Dlinux -DSTDC_LIMIT_MACROS=1 -DSTDC_FORMAT_MACROS=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL -DNACL_BUILD_ARCH=x86 -D_FILE_OFFSET_BITS=64 -DNACL_ANDROID=0 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -DSTDC_LIMIT_MACROS=1 -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DNACL_BUILD_SUBARCH=64 -DNACL_BUILD_ARCH=x86 -I/home/linux/chromium-src/src/out/Debug/obj/gen/tc_pnacl_newlib/include -I../../../.. -I../../../../ppapi -I../../../src/third_party -I../../../..

make: [out/Debug/obj/gen/tc_pnacl_newlib/lib/libnacl.a] Error 1 make: Waiting for unfinished jobs....

Comment by k...@kyconny.com, Oct 13, 2012

You guys need to run this command :D sudo apt-get install ia32-libs

Comment by huyendu...@gmail.com, Nov 17, 2012

cam on

Comment by hylepo.d...@gmail.com, Dec 1, 2012

here is the output of my first step with Ubuntu 12.10:

ERROR: Only Ubuntu 10.04 (lucid) through 12.04 (precise) are currently supported

any one knows how to compile with ubuntu 12.10? thanks to any suggestion in advance.

Comment by Kenny.Strawn, Jan 8, 2013

As far as the build dependencies go, at least on Ubuntu 12.10, "sudo apt-get build-dep chromium-browser" should get most of the dependencies installed... but then again, if you're building for a more recent version of Chromium than what's in the repositories, install_build_deps.sh should help to resolve the last of the issues.

Comment by sunyo...@gmail.com, Apr 24, 2013

make: 没有规则可以创建“out/Debug/obj/gen/chrome/common/chrome_version_info_posix.h”需要的目标“build/util/LASTCHANGE”。 停止。

Comment by khingb...@gmail.com, Jul 5, 2013

I guess you can't do a clean rebuild by simply removing out when using ninja

Comment by czybo...@googlemail.com, Jul 7, 2013

hahahaha :)

Comment by KSW...@gmail.com, Aug 5, 2013

I encountered this error when building chromium, could you please give me some hints as I did not get clues by googling it. Is it about the gcc version? Thanks a lot.

In file included from obj/build/linux/gio.gen/libgio_loader.cc:4: ../../out/Debug/gen/library_loaders/libgio.h:28: error: ‘::g_settings_new’ has not been declared ../../out/Debug/gen/library_loaders/libgio.h:29: error: ‘::g_settings_get_child’ has not been declared ../../out/Debug/gen/library_loaders/libgio.h:30: error: ‘::g_settings_get_string’ has not been declared ../../out/Debug/gen/library_loaders/libgio.h:31: error: ‘::g_settings_get_boolean’ has not been declared ../../out/Debug/gen/library_loaders/libgio.h:32: error: ‘::g_settings_get_int’ has not been declared ../../out/Debug/gen/library_loaders/libgio.h:33: error: ‘::g_settings_get_strv’ has not been declared ../../out/Debug/gen/library_loaders/libgio.h:34: error: ‘::g_settings_list_schemas’ has not been declared obj/build/linux/gio.gen/libgio_loader.cc: In member function ‘bool LibGioLoader?::Load(const std::string&)’: obj/build/linux/gio.gen/libgio_loader.cc:42: error: cast from ‘void*’ to ‘int’ loses precision obj/build/linux/gio.gen/libgio_loader.cc:56: error: cast from ‘void*’ to ‘int’ loses precision obj/build/linux/gio.gen/libgio_loader.cc:70: error: cast from ‘void*’ to ‘int’ loses precision obj/build/linux/gio.gen/libgio_loader.cc:84: error: cast from ‘void*’ to ‘int’ loses precision obj/build/linux/gio.gen/libgio_loader.cc:98: error: cast from ‘void*’ to ‘int’ loses precision obj/build/linux/gio.gen/libgio_loader.cc:112: error: cast from ‘void*’ to ‘int’ loses precision obj/build/linux/gio.gen/libgio_loader.cc:126: error: cast from ‘void*’ to ‘int’ loses precision ninja: build stopped: subcommand failed.

Comment by fossco...@gmail.com, Aug 6, 2013

Unless you get a very special version of gcc/c libraries from RedHat?, it will not build on RHEL derivatives such as CentOS. Cant say offhand about Fedora.

Comment by manuben...@gmail.com, Aug 11, 2013
GRACIAS POR VUESTROS MENSAJES. PERO LES DIGO QUE, COMO NO HAN ESTAN

CONFECCIONADOS EN ESPAOL, NO LOS ENTIENDO. MAS, CUANDO TAMPOCO PUEDO HACER FUNCIONAR EL SISTEMA TRADUCTOR. POR ELLO, RUEGOLES QUE EN ADELANTE VUESTRAS ATENTAS COMUNICACIONES LAS FORMULEN EN IDIOMA ESPAOL PARA QUE ASI PUEDAN SER DEBIDAMENTE ATENDIDAS POR EL SUSCRIPTO. SIN OTRO PARTICULAR, SALUDOLES CORDIALMENTE. (Fdo.) DR.MANUEL DIEZ.

2013/8/7, chromium@googlecode.com <chromium@googlecode.com>:

Comment by manuben...@gmail.com, Aug 11, 2013
EN CONCORDANCIA CON LO QUE LES EXPLICIT EN MI ANTERIOR CORREO,

SOLICITOLES QUE, DE SER ELLO POSIBLE, TENGAN A BIEN REITERARME VUESTROS MENSAJES DEL 6-7/AGO/2013 EN IDIOMA ESPAOL. DESDE YA AGRADEZCO VUESTRA CONSIDERACION Y RESOLUCION SOBRE ESTE PEDIMENTO. CORDIALMENTE, MANUEL B.DIEZ.-

2013/8/11, Manuel Diez <manuben10r@gmail.com>:

Comment by davecb.42@gmail.com, Sep 21, 2013

Jarikus wrote on 4/2/12

If you get "Error: Can't update/checkout /home/vincenzo/AltriProgrammi?/chromium/ src if an unversioned directory is present. Delete the directory and try again."

Then before “gclient sync –force --jobs=16”, use “gclient config http://git.chromium.org/chromium/src.git --git-deps” in (~/chromium/src).

Comment by davecb.42@gmail.com, Sep 21, 2013

I also got this diagnostic about a missing libpci, from gclient runhooks -- Package libpci was not found in the pkg-config search path. Perhaps you should add the directory containing `libpci.pc' to the PKG_CONFIG_PATH environment variable No package 'libpci' found --

tried

sudo yum install pciutils-libs.i686
with no effect...

Comment by edw...@humblebundle.com, Oct 8, 2013

yum install picutils-devel (for libpci)..

Comment by gageta...@gmail.com, Oct 24, 2013

Gageta112@mail.ru

Comment by dongseon...@intel.com, Oct 24, 2013

Ubuntu 13.04 & 13.10 works well.

Comment by pgebh...@gmail.com, Oct 30, 2013

All I am getting when I try to run "ninja -C out/Debug chrome" on Ubuntu 13.10 is "Illegal Instruction (core dumped)". Anybody else see this?

Comment by manuben...@gmail.com, Nov 3, 2013

SOLICITO ESCRIBAN EN ESPAOL PORQUE NO LOGRO HACER OPERABLE EL SISTEMA TRADUCTOR. ATENTAMENTE, MANUEL DIEZ.

2013/10/30, chromium@googlecode.com <chromium@googlecode.com>:

Comment by anatoles...@gmail.com, Dec 5, 2013

Sorry for the poor english - I m facing exactly the same "Illegal Instruction (core dumped)" on Ubuntu 13.10,checked also your thread on stackoverflowweb site but the answer you get didn't help me ? Did you found a way tu run ninja -C out/Debug chrome ?

Comment by abhishek...@gmail.com, Jan 18, 2014

[7/5521] ACTION nacl_irt: build IRT x86-64 nexe_855acf16a1884789959d85b073319387 FAILED: cd ../../ppapi/native_client; python ../../native_client/build/build_nexe.py -t ../../out/Debug/gen/sdk/toolchain/ --strip-all --arch x86-64 --build newlib_nexe_pnacl --root ../.. --name ../../out/Debug/nacl_irt_x86_64.nexe --objdir ../../out/Debug/obj/ppapi/native_client/nacl_irt.gen/irt-x86-64/nacl_irt --config-name Debug "--include-dirs=../../out/Debug/gen/tc_newlib/include ../.. lib/gl/include .. ../../third_party/khronos ../../gpu ../.." "--compile_flags=--target=x86_64-nacl -stdlib=libstdc++ -O2 -g -Wall -fdiagnostics-show-option -Werror -gline-tables-only -Wno-unused-function -Wno-char-subscripts -Wno-c++11-extensions -Wno-unnamed-type-template-args -Wno-extra-semi -Wno-unused-private-field -Wno-char-subscripts -Wno-unused-function " --gomadir "" "--defines=linux \"STDC_LIMIT_MACROS=1\" \"STDC_FORMAT_MACROS=1\" \"GNU_SOURCE=1\" \"BSD_SOURCE=1\" \"POSIX_C_SOURCE=199506\" \"XOPEN_SOURCE=600\" \"DYNAMIC_ANNOTATIONS_ENABLED=1\" \"DYNAMIC_ANNOTATIONS_PREFIX=NACL\" \"NACL_BUILD_ARCH=x86\" V8_DEPRECATION_WARNINGS \"FILE_OFFSET_BITS=64\" CHROMIUM_BUILD \"TOOLKIT_VIEWS=1\" UI_COMPOSITOR_IMAGE_TRANSPORT \"USE_AURA=1\" \"USE_CAIRO=1\" \"USE_GLIB=1\" \"USE_DEFAULT_RENDER_THEME=1\" \"USE_LIBJPEG_TURBO=1\" \"USE_NSS=1\" \"USE_X11=1\" \"USE_CLIPBOARD_AURAX11=1\" ENABLE_ONE_CLICK_SIGNIN \"USE_XI2_MT=2\" \"ENABLE_REMOTING=1\" \"ENABLE_WEBRTC=1\" ENABLE_PEPPER_CDMS ENABLE_CONFIGURATION_POLICY ENABLE_INPUT_SPEECH ENABLE_NOTIFICATIONS USE_UDEV \"ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC\" \"ENABLE_EGLIMAGE=1\" \"ENABLE_TASK_MANAGER=1\" \"ENABLE_EXTENSIONS=1\" \"ENABLE_PLUGIN_INSTALLATION=1\" \"ENABLE_PLUGINS=1\" \"ENABLE_SESSION_SERVICE=1\" \"ENABLE_THEMES=1\" \"ENABLE_AUTOFILL_DIALOG=1\" \"ENABLE_BACKGROUND=1\" \"ENABLE_AUTOMATION=1\" \"ENABLE_GOOGLE_NOW=1\" \"CLD_VERSION=2\" \"ENABLE_FULL_PRINTING=1\" \"ENABLE_PRINTING=1\" \"ENABLE_SPELLCHECK=1\" \"ENABLE_CAPTIVE_PORTAL_DETECTION=1\" \"ENABLE_APP_LIST=1\" \"ENABLE_SETTINGS_APP=1\" \"ENABLE_MANAGED_USERS=1\" \"ENABLE_MDNS=1\"" "--link_flags=--target=x86_64-nacl -stdlib=libstdc++ -arch x86-64 --pnacl-allow-translate --pnacl-allow-native -Wt,-mtls-use-call -Wn,-Trodata-segment=0x3ef00000 -Wn,-Ttext-segment=0x0fa00000 -B../../out/Debug/gen/tc_irt/lib64 -Wl,--start-group -lirt_browser -lppapi_proxy_untrusted -lppapi_ipc_untrusted -lppapi_shared_untrusted -lgles2_implementation_untrusted -lgles2_cmd_helper_untrusted -lgles2_utils_untrusted -lcommand_buffer_client_untrusted -lcommand_buffer_common_untrusted -ltracing_untrusted -lgpu_ipc_untrusted -lipc_untrusted -lbase_untrusted -lshared_memory_support_untrusted -lsrpc -limc_syscalls -lplatform -lgio -Wl,--end-group -lm " "--source-list=../../out/gypfiles/ppapi/native_client/irt-x86-64.nacl_irt.source_list.gypcmd" pnacl-ld: Cannot find '-lm' FAILED with 255: ../../out/Debug/gen/sdk/toolchain/linux_pnacl/bin/pnacl-clang++ -o ../../out/Debug/nacl_irt_x86_64.nexe.debug -Wl,--as-needed --target=x86_64-nacl -stdlib=libstdc++ -arch x86-64 --pnacl-allow-translate --pnacl-allow-native -Wt,-mtls-use-call -Wn,-Trodata-segment=0x3ef00000 -Wn,-Ttext-segment=0x0fa00000 -B../../out/Debug/gen/tc_irt/lib64 -Wl,--start-group -lirt_browser -lppapi_proxy_untrusted -lppapi_ipc_untrusted -lppapi_shared_untrusted -lgles2_implementation_untrusted -lgles2_cmd_helper_untrusted -lgles2_utils_untrusted -lcommand_buffer_client_untrusted -lcommand_buffer_common_untrusted -ltracing_untrusted -lgpu_ipc_untrusted -lipc_untrusted -lbase_untrusted -lshared_memory_support_untrusted -lsrpc -limc_syscalls -lplatform -lgio -Wl,--end-group -lm -Wt,-O0 [7/5521] CXX obj/third_party/WebKit?/Source/core/html/webcore_html.HTMLTableElement.o ninja: build stopped: subcommand failed.

Comment by ahk...@gmail.com, Mar 3, 2014

Code coverage Steps?

Comment by nab...@teknique.com, Mar 6, 2014

hi guys . . I am trying to build chromium on ubuntu. When I run /gyp_chromium I get the following error message:

Exception: Call to 'python ../tools/win/supalink/check_installed.py' returned exit status 2. while trying to load all.gyp

any help will be appreciated . . .

thanks. Nabeel

Comment by dreamcre...@gmail.com, Apr 28, 2014

/chromium/src$ build/gyp_chromium Updating projects from gyp files... Traceback (most recent call last):

File "build/gyp_chromium", line 299, in <module>
gyp_rc = gyp.main(args)
File "/usr/lib/pymodules/python2.7/gyp/init.py", line 457, in main
options.circular_check)
File "/usr/lib/pymodules/python2.7/gyp/init.py", line 101, in Load
depth, generator_input_info, check, circular_check)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 2269, in Load
depth, check)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 435, in LoadTargetBuildFile?
includes, depth, check)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 389, in LoadTargetBuildFile?
build_file_path)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 986, in ProcessVariablesAndConditionsInDict?
ProcessConditionsInDict?(the_dict, is_late, variables, build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 863, in ProcessConditionsInDict?
variables, build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 1012, in ProcessVariablesAndConditionsInDict?
build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 1027, in ProcessVariablesAndConditionsInList?
ProcessVariablesAndConditionsInDict?(item, is_late, variables, build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 1012, in ProcessVariablesAndConditionsInDict?
build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 1027, in ProcessVariablesAndConditionsInList?
ProcessVariablesAndConditionsInDict?(item, is_late, variables, build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 1012, in ProcessVariablesAndConditionsInDict?
build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 1031, in ProcessVariablesAndConditionsInList?
expanded = ExpandVariables?(item, is_late, variables, build_file)
File "/usr/lib/pymodules/python2.7/gyp/input.py", line 711, in ExpandVariables?
' in ' + build_file
KeyError?: 'Undefined variable CONFIGURATION_NAME in /home/neusoft/gongzy/ndisk/chromium/src/base/base.gyp while loading dependencies of /home/neusoft/gongzy/ndisk/chromium/src/build/all.gyp while trying to load /home/neusoft/gongzy/ndisk/chromium/src/build/all.gyp'

Comment by deepak.d...@gmail.com, Apr 29, 2014

Hi,

I am not able to print variables in the gdb while debugging the chrome renderer. My break points are getting hit properly, But variables values are not printing ..

can someone can help in this regard..

Thanks Deepak Mittal deepak.deepakmittal@gmail.com

Comment by markdittmer@google.com, May 12, 2014

Some prerequisites depend on having the code. The bullet points:

Prerequisites: what you need before you build Get the Code: check out the source code.

should be in the opposite order:

Get the Code: check out the source code. Prerequisites: what you need before you build

Comment by natarajb...@gmail.com, Jun 17, 2014

i m downloading chromium code with fetch chromium --nosvn=True, but out folder is not downloading inside src folder. I ran install-build-deps.sh file too to update all dependencies. Please help me out in this regard...

Comment by asav...@google.com, Jul 2, 2014

Might be good to mention you need to follow the instructions here to actually run the built version of chrome: https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment

I just ran into the error message and wasn't sure what the sandbox was or whether I really needed it or not. It took quite a bit of searching around to see that the sandbox was a normal part of development and debugging.

Comment by deepak...@samsung.com, Jul 10, 2014

While Building chrome in linux I am getting :

error: unknown warning option '-Wno-unused-local-typedefs' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wno-literal-suffix'; did you mean '-Wno-literal-range'? [-Werror,-Wunknown-warning-option] [10/16749] ACTION Generating resources from app/resources/locale_settings_linux.grd ninja: build stopped: subcommand failed.

Any idea to resolve this error..

Comment by manuben...@gmail.com, Aug 26, 2014

POR FAVOR ENVIEN LOS CORREOS TRADUCIDOS AL ESPAOL YO, NO PUEDO TRADUCIRLOS CON ESTE ORDENADOR. GRACIAS. CORDIALMENTE> M.B.DIEZ.

2014-08-20 7:24 GMT+01:00, chromium@googlecode.com <chromium@googlecode.com>:


Sign in to add a comment
Powered by Google Project Hosting