From owner-freebsd-current Mon May 20 14:18:13 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA17857 for current-outgoing; Mon, 20 May 1996 14:18:13 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA17805; Mon, 20 May 1996 14:17:56 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA14613; Mon, 20 May 1996 23:17:00 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA09355; Mon, 20 May 1996 23:17:00 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id WAA06246; Mon, 20 May 1996 22:28:53 +0200 (MET DST) From: J Wunsch Message-Id: <199605202028.WAA06246@uriah.heep.sax.de> Subject: Re: Help building kernel To: michaelv@HeadCandy.com (Michael L. VanLoon -- HeadCandy.com) Date: Mon, 20 May 1996 22:28:53 +0200 (MET DST) Cc: freebsd-questions@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199605200841.BAA07339@MindBender.HeadCandy.com> from "Michael L. VanLoon -- HeadCandy.com" at "May 20, 96 01:41:40 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Michael L. VanLoon -- HeadCandy.com wrote: > > Help! I'm trying to build a kernel on 2.1.0-Release, and I can't get > it to work. Every time it goes to link I get these two errors: > > init_main.o: Undefined symbol `_dummyinit' referenced > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced Interesting. Both are defined just one line before they are used. Are you sure you're using the stock 2.1 `ld'? Try declaring them as non-static, and see if the linker will find them. (Terry has been posting a 25-page :) article about the technology of the used linker sets recently. You should be able to find it by this keyword using the WWW interface to the mailing list archives.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)