NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd-5 and lkm



hello,

I am trying to use lkm with netbsd-5.
lkm is enabled in the kernel.

options         LKM             # loadable kernel modules

/etc/lkm.conf:

#       $NetBSD: lkm.conf,v 1.2 1997/07/14 11:55:46 drochner Exp $
#
# see lkm.conf(5) for details.  path will look in /lkm and /usr/lkm.
#
# path          options         entry           postinstall     output          
when
puffs.o         -               -               -               -               
AFTERMOUNT

If I start /etc/rc.d/lkm3 the following error occurs:

/usr/lkm/puffs.o: In function `puffs_lkmentry':
: undefined reference to `lkmdispatch'
/usr/lkm/puffs.o: In function `puffs_lkmentry':
: undefined reference to `lkm_nofunc'
/usr/lkm/puffs.o: In function `puffs_lkmentry':
: undefined reference to `lkmdispatch'
/usr/lkm/puffs.o: In function `puffs_lkmentry':
: undefined reference to `lkm_nofunc'
/usr/lkm/puffs.o: In function `puffs_lkmentry':
: undefined reference to `lkm_nofunc'
/usr/lkm/puffs.o: In function `puffs_lkmentry':
: undefined reference to `lkmdispatch'
/usr/lkm/puffs.o: In function `puffs_releasenode':
: undefined reference to `mutex_enter'
/usr/lkm/puffs.o: In function `puffs_releasenode':
: undefined reference to `mutex_exit'
/usr/lkm/puffs.o: In function `puffs_releasenode':
: undefined reference to `mutex_destroy'
/usr/lkm/puffs.o: In function `puffs_releasenode':
: undefined reference to `seldestroy'
/usr/lkm/puffs.o: In function `puffs_updatenode':
: undefined reference to `nanotime'
/usr/lkm/puffs.o: In function `puffs_putvnode':
: undefined reference to `genfs_node_destroy'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `getnewvnode'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `uvm_vnp_setsize'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `mutex_enter'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `kmem_free'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `mutex_exit'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `panic'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `pool_get'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `memset'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `mutex_init'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `selinit'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `mutex_enter'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `mutex_exit'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `genfs_node_init'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `spec_node_init'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `uvm_vnp_setsize'
/usr/lkm/puffs.o: In function `puffs_getvnode':
: undefined reference to `kmem_free'
/usr/lkm/puffs.o: In function `puffs_cookie2vnode':
: undefined reference to `mutex_enter'
/usr/lkm/puffs.o: In function `puffs_cookie2vnode':
: undefined reference to `mutex_enter'
/usr/lkm/puffs.o: In function `puffs_cookie2vnode':
: undefined reference to `mutex_exit'
/usr/lkm/puffs.o: In function `puffs_cookie2vnode':
: undefined reference to `vget'
/usr/lkm/puffs.o: In function `puffs_cookie2vnode':
: undefined reference to `mutex_enter'
....



Any idea what the problem can be?


Thank you for your efforts
Uwe



Home | Main Index | Thread Index | Old Index