Date: Wed, 10 Sep 2003 01:28:12 -0700 From: Kent Stewart <kstewart@owt.com> To: Andrew Porohin <Andrew@ap12326.spb.edu>, freebsd-stable@freebsd.org Subject: Re: 4.9-prerelease (build linux module problem) Message-ID: <200309100128.12604.kstewart@owt.com> In-Reply-To: <20030910111336.433c454c.Andrew@ap12326.spb.edu> References: <20030910111336.433c454c.Andrew@ap12326.spb.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309100128.12604.kstewart>