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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to