From owner-freebsd-questions Thu Oct 19 11:19:44 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA27000 for questions-outgoing; Thu, 19 Oct 1995 11:19:44 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA26995 for ; Thu, 19 Oct 1995 11:19:39 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA02963; Thu, 19 Oct 1995 11:12:50 -0700 From: Terry Lambert Message-Id: <199510191812.LAA02963@phaeton.artisoft.com> Subject: Re: modload Q To: kuku@gilberto.physik.rwth-aachen.de (Christoph P. Kukulies) Date: Thu, 19 Oct 1995 11:12:49 -0700 (MST) Cc: freebsd-questions@freefall.freebsd.org In-Reply-To: <199510190852.JAA13156@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Oct 19, 95 09:52:56 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 603 Sender: owner-questions@FreeBSD.org Precedence: bulk > I want to load socksys_mod.o and get the following (under a 2.2-current): > > blues# modload socksys_mod.o > Undefined entry symbol `_xxxinit' > ld: Spurious undefined symbols: # undefined symbols 1, reported 0 > modload: /usr/bin/ld: return code 1 > blues# > > What's wrong? The entry point for the module isn't the defaualt entry point, and you didn't specify an alternative using the "-e" command line switch. man modload, then look at the socksys code. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.