-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Andrew: I think I found myself in a similar situation once. On that occasion I had downloaded and installed the {mumble-kernel}.src.rpm instead of the kernel-source-{mumble}.{arch}.rpm files. You don't want the first one. Confused the biscuits outta me at the time. "Whaddaya mean that's not the source? It says .src right there!" :-D Well, it's kind of the source but not the one you want to build your own kernel from. It's an RPM thing. If you didn't yet, try the kernel-source-*.rpm file. Cheers, - dash On Tuesday 27 January 2004 07:41, Andrew Halliwell wrote:
I've just finished downloading the kernelsources for 193 to find them to be a package of 2.4.21 and lots of patches, rather than the usual kernel with patches applied.
Now, I tried using the script suggested by the README.SuSE file...
for p in $(./guards $(./arch-symbols)<series.conf); do patch -d /usr/src/linux-2.4.21/ -p1 < $p || break;
done
to apply the patches, but I did notice quite a lot of chunks flying past that weren't patching properly (by the looks of it).
And on compile, when it gets to the mm section... lots of...
In file included from /usr/src/linux-2.4.21/include/linux/highmem.h:6, from /usr/src/linux-2.4.21/include/linux/pagemap.h:16, from mmap.c:9: /usr/src/linux-2.4.21/include/asm/pgalloc.h: In function `pmd_populate': /usr/src/linux-2.4.21/include/asm/pgalloc.h:21: warning: suggest parentheses around + or - inside shift
type errors
before finally... /usr/src/linux-2.4.21/include/linux/highmem.h:72: warning: suggest parentheses around + or - inside shift mmap.c: In function `unmap_fixup': mmap.c:857: error: `ADDR_LIMIT_3GB' undeclared (first use in this function) mmap.c:857: error: (Each undeclared identifier is reported only once mmap.c:857: error: for each function it appears in.) make[2]: *** [mmap.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.21/mm' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.21/mm' make: *** [_dir_mm] Error 2
Is it me doing something wrong, or is there a problem with the patches in that rpmball?
- -- sused@mucus.com "Perfect! ....what am I doing?" -- Washu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFAFpI6eo6c0kw6mZ0RAqUxAKDiUAIPQDsKmicCR5nbfXfFTGiYJQCgmcQi 4bDc4nL5SkA8n4247k8VUmE= =LoyR -----END PGP SIGNATURE-----