Problem compiling modules

John Oliver joliver at john-oliver.net
Mon Mar 15 17:19:34 PST 2004


On Mon, Mar 15, 2004 at 05:08:53PM -0800, Michael O'Keefe wrote:
> John Oliver wrote:
> > System is Red Hat 7.2  Upgrading isn't an option... it's the latest
> > version of Linux officially supported by my employer, so I gotta have
> > this cranky old beast for load tests... :-)  I grabbed the 2.4.20-28.7
> > kernel and sources (latest from updates.redhat.com) and went to compile
> > a new kernel.  When making the modules, I get a bunch of errors:
> 
> Can you show us
> /usr/src/linux-2.4.20-28.7/include/linux/kernel.h:60
> to see what it is (the rest of the messages seem related to kernel 
> versioning, so I'm betting it's something to do with that)

extern struct notifier_block *panic_notifier_list;
NORET_TYPE void panic(const char * fmt, ...)
        __attribute__ ((NORET_AND format (printf, 1, 2)));
asmlinkage NORET_TYPE void do_exit(long error_code)
        ATTRIB_NORET;
NORET_TYPE void complete_and_exit(struct completion *, long)
        ATTRIB_NORET;

The first NORET line is #60...

-- 
John Oliver, CCNA                            http://www.john-oliver.net/
Linux/UNIX/network consulting         http://www.john-oliver.net/resume/
*    *    *    *    *    *    *     *    *    *    *    *    *    *    *  
Contribute to the SpamCon Legal Fund!! http://www.spamcon.org/legalfund/



More information about the KPLUG-List mailing list