d: /kernel: malformed input file (not rel or archive) ??

2000-03-01 Thread Johan Kruger

If i try to load the example in
/usr/src/share/exaples/lkm/misc/module/misc_mod.o i get the following.
Pleeaaas help ?

borg# modload ./misc_mod.o 
ld: /kernel: malformed input file (not rel or archive)
modload: /usr/bin/ld: return code 1

-- 
Johan Kruger ( B.Ing Electronic Engineering )
Developement Engineer
Nanoteq PTA ( 012 6727000 )
e-mail : [EMAIL PROTECTED]
e-mail : [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: d: /kernel: malformed input file (not rel or archive) ??

2000-03-01 Thread Maxim Sobolev

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.
 Pleeaaas 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: d: /kernel: malformed input file (not rel or archive) ??

2000-03-01 Thread Kris Kennaway

On Wed, 1 Mar 2000, 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.
 Pleeaaas help ?

LKMs are deprecated in favour of KLDs. Do you have options LKM in your
kernel if you really wnt to play with the old technology?

Kris


In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message