From owner-freebsd-current Sat Jun 1 19:36:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id D8D5637B401 for ; Sat, 1 Jun 2002 19:36:21 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.3) id g522aK1e025015; Sat, 1 Jun 2002 21:36:20 -0500 (CDT) (envelope-from dan) Date: Sat, 1 Jun 2002 21:36:20 -0500 From: Dan Nelson To: Terry Lambert Cc: "Marc G. Fournier" , freebsd-current@FreeBSD.ORG Subject: Re: Undefined symbol "SYS_uuidgen"? Message-ID: <20020602023620.GD71139@dan.emsphone.com> References: <20020601221642.C2522-100000@mail1.hub.org> <20020602020558.GA71139@dan.emsphone.com> <3CF97F78.7D8308D2@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CF97F78.7D8308D2@mindspring.com> User-Agent: Mutt/1.3.99i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jun 01), Terry Lambert said: > Dan Nelson wrote: > > In the last episode (Jun 01), Marc G. Fournier said: > > > Performed a 'make buildworld' successfully, but as soon as I > > > tried the 'installworld', when its trying to do the install of > > > libc.so.5, it gives an error to the effect of: > > > > > > /usr/libexec/ld-elf.so.1: /usr/lib/libc.so.5: Undefined symbol "SYS_uuidgen" > > > > Sounds like your kernel and userland are out of synch. Try > > installing a new kernel, and rerunning installworld. You may need > > to build the kernel on another machine if you can't roll back your > > libc. It's always a good idea to back up libc before a world build > > :) > > "Undefined symbol", not "Undefined system call". > > Sounds more like the sys "include" files were not installed before > the libc was built, since there's a silly script that translates > /usr/include/sys/syscall.h to stubs. Yes, that's it. I remember having the same problem with the addition of lchflags last month. Maybe the buildworld should do a "make includes" into the build tree and use those when building libc? (wouldn't have helped me, as I very rarely build world, but rebuild libraries and bins manually if I need a new feature) > Generally, I'd expect the libc.so version number to bump before > seeing this problem, anyway. 8-(. Looks like someone failed to > bump a version number. You only bump the version when an ABI changes or a function disappears, afaik. We promise backwards compatibility, not forwards. And I don't think we want to bump versions on -current anyway; 4.* has libc.so.4, 5.0-RELEASE will have .so.5. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message