Symbols in a Module

Dag-Erling Smørgrav des at des.no
Wed Jul 30 13:15:16 UTC 2008


Jeroen Ruigrok van der Werven <asmodai at in-nomine.org> writes:
> jcw at highperformance.net wrote:
> > I am compiling an AFS module.  The module won't load.  Dmesg reports
> > undefined symbol _vn_lock.  nm reports that the symbol exists and is
> > undefined.
> >
> > How do I compile (defined) symbols into my module?
>
> You add the appropriate source file or library.
>
> _vn_lock, sounds like sys/vnode.h, which in turn on 7-STABLE needs
> sys/kern/vfs_vnops.c.

Wrong answer; vn_lock is already in the kernel.  The problem lies
somewhere else, but there isn't enough information to figure out where.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list