uClinux Distro-20040408 System V IPC Compile Error

Jun 16, 2004 0 Replies

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


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required