Re: 2.1.116p2 + modules = undefined symbols

Keith Owens (kaos@ocs.com.au)
Wed, 19 Aug 1998 11:04:33 +1000


On Tue, 18 Aug 1998 08:12:49 -0700,
Tom Eastep <eastep@loc1.tandem.com> wrote:
>If I build a modular kernel from 2.1.116p2 (+ compilation error fixes),
>many of the modules have the symbols "__getlock" and "__putlock"
>undefined. A monolithic kernel works ok.

Quick and dirty fix. Adding these lines to the end of kernel/ksyms.c
worked for me.

void __getlock(void);
void __putlock(void);
EXPORT_SYMBOL(__getlock);
EXPORT_SYMBOL(__putlock);
EXPORT_SYMBOL(__check_locks);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html