From owner-freebsd-stable@FreeBSD.ORG Wed Sep 10 01:28:18 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F1416A4C0 for ; Wed, 10 Sep 2003 01:28:18 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02E4143F85 for ; Wed, 10 Sep 2003 01:28:18 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h8A8SD228296; Wed, 10 Sep 2003 01:28:14 -0700 From: Kent Stewart To: Andrew Porohin , freebsd-stable@freebsd.org Date: Wed, 10 Sep 2003 01:28:12 -0700 User-Agent: KMail/1.5.3 References: <20030910111336.433c454c.Andrew@ap12326.spb.edu> In-Reply-To: <20030910111336.433c454c.Andrew@ap12326.spb.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309100128.12604.kstewart@owt.com> Subject: Re: 4.9-prerelease (build linux module problem) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 08:28:18 -0000 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