Thread (6 messages) flat view 6 messages, 3 authors, 2008-07-13

Re: insmod: unresolved symbol XIo_In32/XIo_Out32

From: Grant Likely <hidden>
Date: 2008-07-11 21:05:18

On Fri, Jul 11, 2008 at 03:11:06PM -0400, Juliana Su wrote:
Hi,

Thanks for your reply! I am new to creating loadable kernel modules, so  
I hope you do not mind some more questions... How can I get the XIo_*  
helper routines to compile into the kernel or export them with  
EXPORT_SYMBOL( )? In my c file (my driver file from which I create the  
object file), I made sure to include xio.h, which is where XIo_In32 and  
XIo_Out32 are defined (see below section from xio.h).
Add an EXPORT_SYMBOL() line to the location where the io accessors are
implemented.  However, you'd probably be better just to replace xio.h
implementation with macros that just map them to the in_be32() and
out_be32() macros.

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help