uClinux Distro-20040408 System V IPC Compile Error

From: Aaron Manning (aamanning_at_dsc.com)
Date: 06/16/04


Date: 16 Jun 2004 06:36:58 -0700

Hello All,

I have recently downloaded the uClinux Full Source Distribution
(20040408) from
uClinux.org and built the defaults for MCF5272C3. Everything works
fine. Next, I enabled the System V IPC support (in General Setup) and
I recieve quite a few "undefined reference" errors. Below is the make
output:

aaron@Aaron_Linux_box:~/NEW-UCLINUX/uClinux-dist$ make
make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -C linux-2.6.x || exit 1
make[1]: Entering directory
`/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x'
make[2]: `arch/m68knommu/kernel/asm-offsets.s' is up to date.
  CHK include/linux/compile.h
  CC ipc/util.o
ipc/util.c: In function `ipc_lock':
ipc/util.c:475: warning: implicit declaration of function
`read_barrier_depends'
  LD ipc/built-in.o
  GEN .version
  CHK include/linux/compile.h
  UPD include/linux/compile.h
  CC init/version.o
  LD init/built-in.o
  LD vmlinux
ipc/built-in.o: In function `ipc_lock':
/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x/ipc/util.c:475:
undefined reference to `read_barrier_depends'
ipc/built-in.o: In function `shm_destroy':
/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x/ipc/shm.c:117:
undefined reference to `shmem_lock'
ipc/built-in.o: In function `newseg':
/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x/ipc/shm.c:201:
undefined reference to `shmem_file_setup'
ipc/built-in.o: In function `sys_shmctl':
/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x/ipc/shm.c:528:
undefined reference to `shmem_lock'
/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x/ipc/shm.c:532:
undefined reference to `shmem_lock'
ipc/built-in.o: In function `grow_ary':
/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x/ipc/util.c:134:
undefined reference to `shmem_nopage'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory
`/home/aaron/NEW-UCLINUX/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1

Anyone have any ideas?

Thanks In Advance,
Aaron



Relevant Pages

  • undefined references
    ... CHK include/linux/version.h ... : undefined reference to `gr_inode_follow_link' ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • 2.6.3-mm1 compile error
    ... CHK include/linux/compile.h ... : undefined reference to `clustered_apic_check' ... My .config is attached. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: 2.6.12-rc2-mm1
    ... > - Nobody said anything about the PM resume and DRI behaviour in ... CHK include/linux/compile.h ... : undefined reference to `acpi_boot_table_init' ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: 2.6.9-rc1-mm1 - undefined references - [PATCH]
    ... CHK include/linux/compile.h ... drivers/built-in.o: undefined reference to `cfb_fillrect' ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L3
    ... dnsdomainname: Unknown host ... UPD include/linux/compile.h ... kernel/workqueue.c:823: undefined reference to `.L342' ... CHK include/linux/utsrelease.h ...
    (Linux-Kernel)