Re: linux module problem again
From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 11/05/05
- Previous message: Tauno Voipio: "Re: linux module problem again"
- In reply to: Winnie: "Re: linux module problem again"
- Next in thread: Kasper Dupont: "Re: linux module problem again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 5 Nov 2005 17:06:35 +0100
Winnie <zy.zhangyue@gmail.com> wrote:
> hello-1.o: unresolved symbol proc_register
> hello-1.o: unresolved symbol proc_unregister
> and then?
Link them in, or compile them in - what else do you expect anyone to
say?
You are compiling for 2.4? Please provide appropriate context.
Anyway, proc_register is NOT a symbol in my 2.4 kernel (2.4.22). So
*I* would say that if you have compiled a module that references it,
perhaps you have either written or compiled it wrong.
% grep proc_register /usr/local/src/linux-2.4.22-xfs/fs/proc/*.c
/usr/local/src/linux-2.4.22-xfs/fs/proc/generic.c:static int proc_register(struct proc_dir_entry * dir, struct proc_dir_entry * dp)
so it's declared static in my kernel source, which measn that you have
written your code wrong. It shouldn't call that symbol.
proc_register is used in proc_symlink and proc_mknod, etc. I would
imagine you are not using the advertised interface, but I know that
you looking in your codebase would tell you. Please fix your code.
Peter
- Previous message: Tauno Voipio: "Re: linux module problem again"
- In reply to: Winnie: "Re: linux module problem again"
- Next in thread: Kasper Dupont: "Re: linux module problem again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|