Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2008 18:56:36 +0200
From:      Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
To:        jcw@highperformance.net
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Symbols in a Module
Message-ID:  <20080729165636.GL75307@nexus.in-nomine.org>
In-Reply-To: <488F2D48.1020501@highperformance.net>
References:  <488F2D48.1020501@highperformance.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [20080729 17:46], jcw@highperformance.net (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.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
I am not a teacher but an awakener...



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