Find the answer to your Linux question:
Results 1 to 10 of 10
Hi all, I have run the following command and iam getting the error as follows. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules make[1]: arm-none-linux-gnueabi-gcc: Command not found any help and sujjestion ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    15

    bzIMage and modules

    Hi all,

    I have run the following command and iam getting the error as follows.

    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules

    make[1]: arm-none-linux-gnueabi-gcc: Command not found

    any help and sujjestion is invited.

  2. #2
    Just Joined!
    Join Date
    Jun 2004
    Location
    Halesowen, West Midlands, UK
    Posts
    70
    You have either to add where your cross compiler lives or --- e.g mine is in /opt, so
    ARCH=arm make CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi-

    If I had "/opt/arm-2010q1/arm-none-linux-gnueabi-" added to the my PATH in ~/.bashrc and did "source ~/.bashrc" then make would find it without having to explicitly add the path on the command line.
    Doing it this way, it will survive reboots.

    If ~./bashrc doesn't exist you can create it with the text as below. If it exists, append it to your PATH statement line.

    PATH=$PATH:/opt/arm-2010q1/arm-none-linux-gnueabi-:

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Posts
    15
    Thank you for the reply . Yes , now i got out of that problem . Please find below the problem which iam facing now.


    test06:/home/balijepalli/pandaboard/ipipe-gch# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules
    Using /home/balijepalli/pandaboard/ipipe-gch as source for kernel
    GEN /home/balijepalli/pandaboard/build/Makefile
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    make[2]: `include/generated/mach-types.h' is up to date.
    CALL /home/balijepalli/pandaboard/ipipe-gch/scripts/checksyscalls.sh
    CHK include/generated/compile.h
    AS arch/arm/kernel/entry-armv.o
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S: Assembler messages:
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: undefined symbol `.L99973' in operation setting `up_b_offset'
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: undefined symbol `.L99973' in operation setting `up_b_offset'
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: local label `"9997" (instance number 3 of a fb label)' is not defined
    make[2]: *** [arch/arm/kernel/entry-armv.o] Error 1
    make[1]: *** [arch/arm/kernel] Error 2
    make: *** [sub-make] Error 2

  4. #4
    Just Joined!
    Join Date
    Jun 2011
    Posts
    15

    bzimage modules

    iam running below command without running make mrproper.

    then it showing error as below and once i run the make mrproper my config file also been cleaned by mrproper .

    Is this the cause for the error iam getting while creating bzimage





    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules

    Using /home/balijepalli/pandaboard/ipipe-gch as source for kernel
    /home/balijepalli/pandaboard/ipipe-gch is not clean, please run 'make mrproper'

    in the '/home/balijepalli/pandaboard/ipipe-gch' directory.
    make[1]: *** [prepare3] Error 1
    make: *** [sub-make] Error 2
    test06:/home/balijepalli/pandaboard/ipipe-gch# make mrproper
    CLEAN .tmp_versions
    CLEAN scripts/basic
    CLEAN scripts/kconfig
    CLEAN include/config include/generated
    CLEAN .config .config.old include/linux/version.h
    test06:/home/balijepalli/pandaboard/ipipe-gch# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules
    Using /home/balijepalli/pandaboard/ipipe-gch as source for kernel
    GEN /home/balijepalli/pandaboard/build/Makefile
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    make[2]: `include/generated/mach-types.h' is up to date.
    CALL /home/balijepalli/pandaboard/ipipe-gch/scripts/checksyscalls.sh
    CHK include/generated/compile.h
    AS arch/arm/kernel/entry-armv.o
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S: Assembler messages:
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: undefined symbol `.L99973' in operation setting `up_b_offset'
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: undefined symbol `.L99973' in operation setting `up_b_offset'
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: local label `"9997" (instance number 3 of a fb label)' is not defined
    make[2]: *** [arch/arm/kernel/entry-armv.o] Error 1
    make[1]: *** [arch/arm/kernel] Error 2
    make: *** [sub-make] Error 2

  5. #5
    Just Joined!
    Join Date
    Jun 2004
    Location
    Halesowen, West Midlands, UK
    Posts
    70
    Quote Originally Posted by sureshbalijepalli View Post
    iam running below command without running make mrproper.

    then it showing error as below and once i run the make mrproper my config file also been cleaned by mrproper .

    Is this the cause for the error iam getting while creating bzimage





    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules

    Using /home/balijepalli/pandaboard/ipipe-gch as source for kernel
    /home/balijepalli/pandaboard/ipipe-gch is not clean, please run 'make mrproper'

    in the '/home/balijepalli/pandaboard/ipipe-gch' directory.
    make[1]: *** [prepare3] Error 1
    make: *** [sub-make] Error 2
    test06:/home/balijepalli/pandaboard/ipipe-gch# make mrproper
    CLEAN .tmp_versions
    CLEAN scripts/basic
    CLEAN scripts/kconfig
    CLEAN include/config include/generated
    CLEAN .config .config.old include/linux/version.h
    test06:/home/balijepalli/pandaboard/ipipe-gch# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build bzImage modules
    Using /home/balijepalli/pandaboard/ipipe-gch as source for kernel
    GEN /home/balijepalli/pandaboard/build/Makefile
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    make[2]: `include/generated/mach-types.h' is up to date.
    CALL /home/balijepalli/pandaboard/ipipe-gch/scripts/checksyscalls.sh
    CHK include/generated/compile.h
    AS arch/arm/kernel/entry-armv.o
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S: Assembler messages:
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: undefined symbol `.L99973' in operation setting `up_b_offset'
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: undefined symbol `.L99973' in operation setting `up_b_offset'
    /home/balijepalli/pandaboard/ipipe-gch/arch/arm/kernel/entry-armv.S:1406: Error: local label `"9997" (instance number 3 of a fb label)' is not defined
    make[2]: *** [arch/arm/kernel/entry-armv.o] Error 1
    make[1]: *** [arch/arm/kernel] Error 2
    make: *** [sub-make] Error 2
    No idea which kernel it is. I couldn't find any reference to up_b_offset in recent kernels.
    make mrproper would remove your .config.
    In very recent standard vanilla kernels I can't see a defconfig for the pandaboard, so it looks like you'll have to follow the procedure at
    Panda How to kernel - eLinux.org

  6. #6
    Just Joined!
    Join Date
    Jun 2004
    Location
    Halesowen, West Midlands, UK
    Posts
    70
    I followed the HOWTO though I didn't go through the full config options.
    CHK include/linux/version.h
    make[1]: `scripts/unifdef' is up to date.
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    make[1]: `include/generated/mach-types.h' is up to date.
    CALL scripts/checksyscalls.sh
    CHK include/generated/compile.h
    Kernel: arch/arm/boot/Image is ready
    SHIPPED arch/arm/boot/compressed/lib1funcs.S
    AS arch/arm/boot/compressed/lib1funcs.o
    LD arch/arm/boot/compressed/vmlinux
    OBJCOPY arch/arm/boot/zImage
    Kernel: arch/arm/boot/zImage is ready
    UIMAGE arch/arm/boot/uImage
    Image Name: Linux-2.6.35-g6d019da
    Created: Thu Jun 9 12:08:30 2011
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2428680 Bytes = 2371.76 kB = 2.32 MB
    Load Address: 0x80008000
    Entry Point: 0x80008000
    Image arch/arm/boot/uImage is ready
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    make[1]: `include/generated/mach-types.h' is up to date.
    CALL scripts/checksyscalls.sh
    Building modules, stage 2.
    MODPOST 6 modules
    INSTALL crypto/ecb.ko
    INSTALL crypto/pcbc.ko
    INSTALL drivers/media/video/gspca/gspca_main.ko
    INSTALL drivers/staging/ti-st/bt_drv.ko
    INSTALL drivers/staging/ti-st/fm_drv.ko
    INSTALL drivers/staging/ti-st/st_drv.ko
    DEPMOD 2.6.35-g6d019da
    slipstream:/home/lancelot/ftp/jun11/kernel-omap4 #

  7. #7
    Just Joined!
    Join Date
    Jun 2011
    Posts
    15
    Can you please sujjest how can i use mkproper command . i mean in build directory or in source directory.

  8. #8
    Just Joined!
    Join Date
    Jun 2011
    Posts
    15
    Thanks for the above reply

  9. #9
    Banned
    Join Date
    Jun 2011
    Posts
    1
    It's amazing as we currently have the worst foreclosure laws!

    I have gotten involved in the process and I am impressed that great things can really happen on the state level if you have a dedicated group!
    The lobby came out full force but individual stories and testimonies really matter!

    The bill passed the House 50 to 1 !!!!!!

  10. #10
    Just Joined!
    Join Date
    Jun 2004
    Location
    Halesowen, West Midlands, UK
    Posts
    70
    Quote Originally Posted by sureshbalijepalli View Post
    Can you please sujjest how can i use mkproper command . i mean in build directory or in source directory.
    I missed this until now.
    Following the documentation I pointed to with the adjustments to PATH or as I outlined for doing from the command line, you can't go wrong.
    You can do make mrproper, but then you'd have to do "make <defconfig_for_your_board> and "make menuconfig" to make sure all your kernel options are as you want them.

    I followed the same instructions, except I didn't do the "make menuconfig" and got a kernel built, so I know they work as laid out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •