Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Linux 2.6.27 Kernel Compilation

    Hi All,
    While compilig linux 2.6.27 kernel in the
    distribution: uClinux2008R1.5 with updated trunk, I am getting the following message....,

    chmod +x tools/ tools/
    . linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then \
    mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; \
    touch $CONFIG_INITRAMFS_SOURCE || exit 1; \
    rm -f linux-2.6.x/usr/initramfs_data.cpio.gz
    make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -j4 -C linux-2.6.x || exit 1
    make[1]: Entering directory `/home/razia/uclinux-dist-trunk-svn-7856-sreedhar/linux-2.6.x'
    CHK include/linux/version.h
    CHK include/linux/utsrelease.h
    CALL scripts/
    CHK include/linux/compile.h
    GEN usr/initramfs_data.cpio.gz
    AS usr/initramfs_data.o
    LD usr/built-in.o
    IHEX2FW firmware/keyspan/mpr.fw
    IHEX2FW firmware/keyspan/usa18x.fw
    IHEX2FW firmware/keyspan/usa19.fw
    IHEX2FW firmware/keyspan/usa19qi.fw
    IHEX2FW firmware/keyspan/usa19qw.fw
    IHEX2FW firmware/keyspan/usa19w.fw
    IHEX2FW firmware/keyspan/usa28.fw
    IHEX2FW firmware/keyspan/usa28xa.fw
    IHEX2FW firmware/keyspan/usa28xb.fw
    IHEX2FW firmware/keyspan/usa28x.fw
    IHEX2FW firmware/keyspan/usa49w.fw
    IHEX2FW firmware/keyspan/usa49wlc.fw
    AS firmware/keyspan/mpr.fw.gen.o
    AS firmware/keyspan/usa18x.fw.gen.o
    AS firmware/keyspan/usa19.fw.gen.o
    AS firmware/keyspan/usa19qi.fw.gen.o
    AS firmware/keyspan/usa19qw.fw.gen.o
    AS firmware/keyspan/usa19w.fw.gen.o
    AS firmware/keyspan/usa28.fw.gen.o
    AS firmware/keyspan/usa28xa.fw.gen.o
    AS firmware/keyspan/usa28xb.fw.gen.o
    AS firmware/keyspan/usa28x.fw.gen.o
    AS firmware/keyspan/usa49w.fw.gen.o
    AS firmware/keyspan/usa49wlc.fw.gen.o
    LD firmware/built-in.o
    LD vmlinux.o
    MODPOST vmlinux.o
    GEN .version
    CHK include/linux/compile.h
    UPD include/linux/compile.h
    CC init/version.o
    LD init/built-in.o
    LD .tmp_vmlinux1
    arch/blackfin/mach-common/built-in.o: In function `pm_overflow':
    (.text+0xd6): undefined reference to `pm_overflow_handler'
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/home/razia/uclinux-dist-trunk-svn-7856-sreedhar/linux-2.6.x'
    make: *** [linux] Error 1

    Please help me to fix this error.


  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Well, it appears that you are referencing a function pointer which has not been defined, pm_overflow_handler, or it is a function that has not been implemented. You need to see which source file (and resulting .o) where this function is implemented and make sure it is linked into the kernel. It is being referenced in the source file arch/blackfin/mach-common/built-in.c (probably), but it likely is not implemented there.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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