mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Regarding - unresolved symbol
@ 2005-10-11 13:59 vinay hegde
  2005-10-11 15:16 ` linux-os (Dick Johnson)
  2005-10-11 15:21 ` Jon Masters
  0 siblings, 2 replies; 4+ messages in thread
From: vinay hegde @ 2005-10-11 13:59 UTC (permalink / raw)
  To: linux-kernel

Hi, 
I am developing a device driver module related to the
real time clock on Linux 2.4 kernel. [This is done
with regard to changing one of the existing timer chip
on the  system.] For some reason, I am getting into an
unresolved symbol.

I am following sequence of code in the module (not
necessarily in the sequential manner though).

----------
extern void *sys_call_table[];
static int (*timer_mknod)(const char *, ... ); 
timer_mknod = sys_call_table[__NR_mknod];
----------

Whenever I try to insert the module into the kernel, I
get the following error:
timer.o: unresolved symbol sys_call_table

All the necessary headers are present and I am able to
see the symbol 'sys_call_table' in System.map. I do
not see any error in this regard. Can somebody help me
in pointing out the flaw? 

[I am able to fix this problem by simply using the
'sys_mknod()' call in my module, but I really would
like to know why the above piece of code can not
work!]

Thank you,
Vinay Hegde


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-11 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-11 13:59 Regarding - unresolved symbol vinay hegde
2005-10-11 15:16 ` linux-os (Dick Johnson)
2005-10-11 15:32   ` Jon Masters
2005-10-11 15:21 ` Jon Masters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®