From owner-freebsd-questions Wed Feb 18 00:10:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA12821 for freebsd-questions-outgoing; Wed, 18 Feb 1998 00:10:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wintermute.primelogic.com (wintermute.primelogic.com [206.100.174.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA12724 for ; Wed, 18 Feb 1998 00:09:55 -0800 (PST) (envelope-from michelle@eugene.net) Received: from [206.100.174.69] (Random20.ordata.com [207.48.96.44]) by wintermute.primelogic.com (8.8.8/8.8.8) with ESMTP id AAA06901; Wed, 18 Feb 1998 00:10:35 GMT X-Sender: michelle@primelogic.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 18 Feb 1998 00:12:14 -0700 To: FreeBSD Questions From: Michelle Brownsworth Subject: Vexing kernel compile problem Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I ran into some unexpected trouble today while attempting to recompile a kernel to add support for a device on a server running 2.1.5-RELEASE -- a kernel I've compiled before umpteen times. The compile errored out with the following message: "/usr/lib/crt0.o Undefined symbol '--startup_setlocale' referenced from text segment Error 1." Hmmm... Okay, remove the newly added line in the kernel config file, make clean, make. ...Same deal, error in the same point in the compile. Now, this is the original config file that was used to compile the current, working kernel. Maybe some files in /usr/lib are corrupted; but I have a clone of this server, also running 2.1.5. Tar up /usr/lib on clone, FTP, untar on this server, replacing all files in that directory. Make clean, etc. Same error, same point [mutter]. All right. Let's unholster some bigger guns. First, make sure a kernel will compile on clone machine... it does. Tar up entire /usr/src directory, FTP to recalitrant machine, untar. And, just for grins and giggles, let's do the same thing with /usr/include. Okay. An exact copy of all the kernel source files, libraries, and includes on the clone machine, which, as we know, will compile a kernel successfully. Make, you dirty rackafras. I dare you to blow up now, I just dare... DOH! [Sound of trombone imitating derisive laugh.] Well, either some additional necessary step that I'm unaware of needs to be performed, or an element of the supernatural is entering into this exercise. Ah, me. .\\ichelle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message