RE: 2.3.22pre2 ksyms.c daemonize

Mark Orr (markorr@intersurf.com)
Thu, 14 Oct 1999 20:11:24 -0500 (CDT)


On 15-Oct-99 Garst R. Reese wrote:
> ksyms.c:367: `daemonize' undeclared here (not in a function)
> ksyms.c:367: initializer element is not a constant (near initialization
> for `__ksymtab_daemonize.value')
> gcc-2.95.1

Easy fix, Just edit /usr/src/linux/include/linux/sched.h
and add:

extern void daemonize(void);

somewhere near this stuff:

extern void sched_init(void);
extern void init_idle(void);
extern void show_state(void);
extern void cpu_init (void);
extern void trap_init(void);

location probably isnt critical, but it seems to go together. It
compiled anyway. It's what I'm running now.

---
Mark Orr
markorr@intersurf.com

- 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.tux.org/lkml/