Hi all,
I was dragged away from this problem for a couple of weeks and have only
just got back to it. I'm still having the same problem. I have even
tried building 2.6.17.13 and get exactly the same error, which suggests
to me it is definitely something in my setup. I'm running Fedora Core 4,
with a full install. Does anyone have any ideas?
Thanks,
Lee
Jeff Dike wrote:
> You should have added the /usr/lib part, not modified /lib to /usr/lib.
>
> But in any case, that's not the problem, so put that back the way it was
> and add "V=1" to the UML build command and post the failing link command
> line.
>
> Jeff
>
>
Ah, sorry about that. The tail end of the verbose output is:
UPD include/linux/compile.h
gcc -Wp,-MD,init/.version.o.d -nostdinc -isystem
/home/tools/local/gcc/i686/lib/gcc/i686-pc-linux-gnu/4.0.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os
-D__arch_um__ -DSUBARCH=\"i386\" -Iarch/um/include
-I/tmp/uml_test/linux-2.6.18/arch/um/include/skas -Dvmap=kernel_vmap
-Din6addr_loopback=kernel_in6addr_loopback -Derrno=kernel_errno
-Dsigprocmask=kernel_sigprocmask -Dmktime=kernel_mktime
-fno-unit-at-a-time -U__i386__ -Ui386 -march=i686
-mpreferred-stack-boundary=2 -ffreestanding -D_LARGEFILE64_SOURCE
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g
-Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(version)"
-D"KBUILD_MODNAME=KBUILD_STR(version)" -c -o init/version.o init/version.c
ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
init/mounts.o init/initramfs.o init/calibrate.o
gcc -Wl,-rpath,/lib -Wl,--wrap,malloc -Wl,--wrap,free
-Wl,--wrap,calloc -o .tmp_vmlinux1 -Wl,-T,arch/um/kernel/vmlinux.lds
init/built-in.o -Wl,--start-group usr/built-in.o
arch/um/kernel/built-in.o arch/um/drivers/built-in.o
arch/um/os-Linux/built-in.o arch/um/sys-i386/built-in.o
arch/i386/crypto/built-in.o kernel/built-in.o mm/built-in.o
fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
block/built-in.o lib/lib.a lib/built-in.o drivers/built-in.o
sound/built-in.o net/built-in.o -Wl,--end-group -lutil ; rm -f linux
/usr/bin/ld: cannot find -lutil
collect2: ld returned 1 exit status
echo 'cmd_.tmp_vmlinux1 := gcc -Wl,-rpath,/lib -Wl,--wrap,malloc
-Wl,--wrap,free -Wl,--wrap,calloc -o .tmp_vmlinux1
-Wl,-T,arch/um/kernel/vmlinux.lds init/built-in.o -Wl,--start-group
usr/built-in.o arch/um/kernel/built-in.o arch/um/drivers/built-in.o
arch/um/os-Linux/built-in.o arch/um/sys-i386/built-in.o
arch/i386/crypto/built-in.o kernel/built-in.o mm/built-in.o
fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
block/built-in.o lib/lib.a lib/built-in.o drivers/built-in.o
sound/built-in.o net/built-in.o -Wl,--end-group -lutil ; rm -f linux'
> ./..tmp_vmlinux1.cmd
nm -n .tmp_vmlinux1 | scripts/kallsyms > .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: *** [.tmp_kallsyms1.S] Error 1
Thanks,
Lee
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user