make[1]: Entering directory `/home/nirmala/uml/umlbuild/plain/arch/um/os-Linux/drivers'
make all_targets
make[2]: Entering directory `/home/nirmala/uml/umlbuild/plain/arch/um/os-Linux/drivers'
make[2]: Circular /home/nirmala/uml/umlbuild/plain/include/asm/mmu.h <- /home/nirmala/uml/umlbuild/plain/include/linux/sched.h dependency dropped.
gcc -D__KERNEL__ -I/home/nirmala/uml/umlbuild/plain/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common  -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH="i386" -D_LARGEFILE64_SOURCE -I/home/nirmala/uml/umlbuild/plain/arch/um/include -Derrno=kernel_errno -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/tt/include -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/skas/include   -nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -DKBUILD_BASENAME=ethertap_kern  -c -o ethertap_kern.o ethertap_kern.c
gcc   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE  -I/home/nirmala/uml/umlbuild/plain/arch/um/include -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/tt/include -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o ethertap_user.o ethertap_user.c
ld  -r -o ethertap.o ethertap_kern.o ethertap_user.o
gcc -D__KERNEL__ -I/home/nirmala/uml/umlbuild/plain/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common  -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH="i386" -D_LARGEFILE64_SOURCE -I/home/nirmala/uml/umlbuild/plain/arch/um/include -Derrno=kernel_errno -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/tt/include -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/skas/include   -nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -DKBUILD_BASENAME=tuntap_kern  -c -o tuntap_kern.o tuntap_kern.c
gcc   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE  -I/home/nirmala/uml/umlbuild/plain/arch/um/include -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/tt/include -I/home/nirmala/uml/umlbuild/plain/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o tuntap_user.o tuntap_user.c
ld  -r -o tuntap.o tuntap_kern.o tuntap_user.o
rm -f drivers.o
ld  -r -o drivers.o ethertap.o tuntap.o
make[2]: Leaving directory `/home/nirmala/uml/umlbuild/plain/arch/um/os-Linux/drivers'
make[1]: Leaving directory `/home/nirmala/uml/umlbuild/plain/arch/um/os-Linux/drivers'
ld -r  init/main.o init/version.o init/do_mounts.o \
        --start-group \
        kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/um/kernel/built-in.o arch/um/sys-i386/built-in.o arch/um/os-Linux/built-in.o \
  drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/mtd/mtdlink.o arch/um/fs/built-in.o arch/um/drivers/built-in.o \
        net/network.o \
        /home/nirmala/uml/umlbuild/plain/lib/lib.a arch/um/os-Linux/drivers/drivers.o \
        --end-group \
        -o vmlinux
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
m4 -DSTART=$((0xc0000000 - ((0 + 1) * 0x20000000))) -DELF_ARCH=i386 \
        -DELF_FORMAT=elf32-i386 arch/um/link.ld.in > arch/um/link.ld
mv vmlinux vmlinux.o
gcc -Wl,-T,arch/um/link.ld -static  -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \
        -o linux arch/um/main.o vmlinux.o -L/usr/lib -lutil
/usr/lib/libc.a(elf-init.o)(.text+0x2): In function `__libc_csu_init':
: undefined reference to `__preinit_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x9): In function `__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x1f): In function `__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x2e): In function `__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x33): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x47): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x5a): In function `__libc_csu_fini':
: undefined reference to `__fini_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x5f): In function `__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x7b): In function `__libc_csu_fini':
: undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status
make: *** [linux] Error 1
[nirmala@lac utils]$uname -a
Linux lac 2.4.20-8custom #2 Tue Dec 20 12:49:27 IST 2005 i686 i686 i386 GNU/Linux
