exporting all extern symbols from kernel module
From: Mario Fratelli (sijj_at_yahoo.com)
Date: 08/10/05
- Next message: Peter T. Breuer: "Re: exporting all extern symbols from kernel module"
- Previous message: Ralph.Lam_at_gmail.com: "Re: Over 30,000 online linux manual"
- Next in thread: Peter T. Breuer: "Re: exporting all extern symbols from kernel module"
- Reply: Peter T. Breuer: "Re: exporting all extern symbols from kernel module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Aug 2005 02:45:07 -0700
Hi all,
I'm porting a few kernel modules written in c++ from kernel 2.4 to
kernel 2.6
I'm now able to compile and load them.
But I'm facing a new problem: when I load a module that depends on
another, it doesn't find its symbols.
I understand that I must now explicitly export symbols using the
EXPORT_SYMBOL or EXPORT_SYMBOL_GPL macros.
But because of c++ name mangling, using EXPORT_SYMBOL becomes a long an
dull task.
Is there a way to export all external symbols like before? I've read
the Rubini's Linux Device Drivers and googled a lot but without any
result :(
Mario Fratelli.
- Next message: Peter T. Breuer: "Re: exporting all extern symbols from kernel module"
- Previous message: Ralph.Lam_at_gmail.com: "Re: Over 30,000 online linux manual"
- Next in thread: Peter T. Breuer: "Re: exporting all extern symbols from kernel module"
- Reply: Peter T. Breuer: "Re: exporting all extern symbols from kernel module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|