Error while compiling UML Kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am trying to compile the UML kernel by patching
vanilla kernel 2.4.20 with uml patch
uml-patch-2.4.20-4.bz2.

My host kernel is 2.4.20-6 [ which is default with
RH8.0]

After cleaning and running xconfig, i am facing
following problem while running make linux ARCH=um


Please advise on below error:

gcc -Wl,-T,arch/um/link.ld -pg -static
-Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \
        -o linux arch/um/main.o vmlinux.o -L/usr/lib
-lutil
vmlinux.o(.text+0x367646): In function `sscanf':
/home/dahuja/umlkernel/linux-2.4.20/lib/vsprintf.c:703:
multiple definition of `sscanf'
arch/um/kernel/tt/unmap_fin.o(.text+0x323b8): first
defined here
/usr/bin/ld: Warning: size of symbol `sscanf' changed
from 23 to 83 in vmlinux.o
vmlinux.o(.text+0x366be1): In function `sprintf':
/home/dahuja/umlkernel/linux-2.4.20/lib/vsprintf.c:500:
multiple definition of `sprintf'
arch/um/kernel/tt/unmap_fin.o(.text+0xe78): first
defined here
/usr/bin/ld: Warning: size of symbol `sprintf' changed
from 23 to 83 in vmlinux.o
vmlinux.o(.text+0x3650ed): In function `strpbrk':
/home/dahuja/umlkernel/linux-2.4.20/lib/string.c:280:
multiple definition of `strpbrk'
arch/um/kernel/tt/unmap_fin.o(.text+0x3c560): first
defined here
/usr/bin/ld: Warning: size of symbol `strpbrk' changed
from 179 to 149 in vmlinux.o
/usr/bin/ld: final link failed: Memory exhausted
collect2: ld returned 1 exit status
make: *** [linux] Error 1


Regards
Dinesh

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux