On Wednesday 10 September 2003 12:13 am, Andrew Porohin
wrote:> Hello everybody!
>
> FreeBSD 4.9-PRERELEASE. buildkernel problem.
> Help me, please.
>
> # make buildworld
> ===> linux_ptrace.o: In function `linux_ptrace':
> linux_ptrace.o(.text+0x164): multiple definition of `linux_ptrace'
> linux_dummy.o(.text+0x60): first defined here
> /usr/obj/usr/src/i386/usr/libexec/elf/ld: Warning: size of symbol
> `linux_ptrace'
> changed from 31 to 846 in linux_ptrace.o
>
Something is going on with your setup because I just did a cvsup of
src-all and then did a buildworld/buildkernel and had no problems.
ld -r -o linux.kld linux_locore.o linux_dummy.o linux_file.o
linux_getcwd.o linux_ioctl.o linux_ipc.o linux_machdep.o linux
_mib.o linux_misc.o linux_signal.o linux_socket.o linux_stats.o
linux_sysctl.o linux_sysent.o linux_sysvec.o linux_util.o li
nux_ptrace.o linux_uid16.o imgact_linux.o
gensetdefs linux.kld
It loaded just fine. You might try 2 "make cleandir" and see if you
had
some crufty stuff left behind.
Kent
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html