Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2008 15:15:13 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Cc:        freebsd-hackers@freebsd.org, jcw@highperformance.net
Subject:   Re: Symbols in a Module
Message-ID:  <863alr4iou.fsf@ds4.des.no>
In-Reply-To: <20080729165636.GL75307@nexus.in-nomine.org> (Jeroen Ruigrok van der Werven's message of "Tue\, 29 Jul 2008 18\:56\:36 %2B0200")
References:  <488F2D48.1020501@highperformance.net> <20080729165636.GL75307@nexus.in-nomine.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> writes:
> jcw@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863alr4iou.fsf>