From: Jeff D. <jd...@ka...> - 2000-07-04 04:05:18
|
sa...@sk... said: > FYI, for some reason, I can't compile 2.4.0 out of the box (the UM > patch that is...). It seems that you are doing a bunch of #ifdef > __SMP__'s, but __SMP__ is not defined... I just did a build of the patch applied to a clean 2.4.0-test2 pool, and it built fine. Something's wrong at your end. > I added -D__SMP__ to my command line and things seem quite a bit > happier now. :) I have SMP support turned off for now, with pretty good reason. > --- arch/um/kernel/process_kern.c- Mon Jul 3 05:05:03 2000 > +++ arch/um/kernel/process_kern.c Mon Jul 3 10:34:23 2000 > @@ -228,7 +228,9 @@ > if (softirq_state[0].active&softirq_state[0].mask) > do_softirq(); > #else > -#error Need to update do_bh > +/* > + * #error Need to update do_bh > + */ > #endif > } This being one of them. > In spite of making these changes I'm still getting this error: > VFS: Mounted root (ext2 filesystem) readonly. > Warning: unable to open an initial console. > Seg fault in signals Which is another reason I have SMP turned off. If you want to get it to build, get a clean pool, and it will probably work. If it doesn't, send in the compile errors. Don't fix non-existent problems. If you want to get SMP support working, let me know, and I'll be happy to supply hints. There is more to SMP support than removing #errors and putting in kludges to make it build. Jeff |