Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2000 15:09:53 +0200
From:      Maxim Sobolev <sobomax@altavista.net>
To:        jkruger@oskar.nanoteq.co.za
Cc:        freebsd-hackers@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: d: /kernel: malformed input file (not rel or archive) ??
Message-ID:  <38BD16A1.D7415F26@altavista.net>
References:  <00030114525508.00308@ockle.dev.nanoteq.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Johan Kruger wrote:

> If i try to load the example in
> /usr/src/share/exaples/lkm/misc/module/misc_mod.o i get the following.
> Pleeaaaseeee help ?
>
> borg# modload ./misc_mod.o
> ld: /kernel: malformed input file (not rel or archive)
> modload: /usr/bin/ld: return code 1

What FreeBSD release you are using? If it is 2.2 than the -current is wrong
place to ask, but if it is 4.0 than you must note that the lkm subsustem has
been abolished long time ago in favor of the new kld system. See man kld and
/usr/share/examples/kld for details.

-Maxim




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38BD16A1.D7415F26>