Messages in this thread | | | Date | Wed, 06 Oct 1999 15:31:25 +0100 (BST) | From | Anton Ivanov <> | Subject | Re: Red Hat 6.1 version.h modifications |
| |
-----BEGIN PGP SIGNED MESSAGE-----
On 06-Oct-99 kernel@kvack.org wrote: > On 6 Oct 1999, Miquel van Smoorenburg wrote: > >> In article <cistron.Pine.LNX.3.96.991006121643.3369C-100000@mango.delix.de>, >> Bernhard Rosenkraenzer <bero@redhat.de> wrote: >> >People manually upgrading their kernel don't have the modified version.h, >> >because /usr/include/linux should be a symlink to >> >/usr/src/linux/include/linux in any case... >> >> Argh please not _that_ discussion again. >> >> On my (Debian) system, /usr/include/linux is _not_ a symlink to >> /usr/src/linux/include/linux and hasn't been for ages. > > Please explain how third party modules are to be compiled on such a > system? I have frequently have users calling tech support that need to > know.
gcc -D__KERNEL__ -DMODULE -I/usr/src/kernel-source-2.0.36/include -Wall - -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 - -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
note the -I. Change with the actual path. Best idea is try to do a make modules and interrupt immediately and after that cut/paste the line. This debian, rhat is same. old slack where someone have forgotten the symlinks (common in early 3.x slacks) - same, etc. It has actually been around for a while.
- ---------------------------------- Anton R. Ivanov IP Engineer Level3 Communications RIPE: ARI2-RIPE E-Mail: Anton Ivanov <aivanov@eu.level3.net> @*** Long's Notes (No 7 of 30) *** It's amazing how much "mature wisdom" resembles being too tired.
- ----------------------------------
-----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv
iQEVAwUBN/tdOylWAw/bM84zAQFYfQf+IBd55YfhYUNrTcqyrxdFNOAH048fnh2Q 3FPWifM31lgtcDQkFar7IxnmSNreAUVyWapsVj/E/nI+z4r0qbmzNXJQ6uMn04gB AKn1YVnoBYdRS3E9UH2XJ+p38k1eMarvkaGlHam91IcBsp9EvzwqnZwsRqC28YAk R+BH33XiUYwn8EuVbweZUvmmX5D/DAgl4ISxzjv/S6O4Miu09bjFE8yyWhDO0gwK mbMUFSltpGaQQ8XxdrH89TeLUAPOBITBSUVbnHQljmjNZFkrVDm7O9Mg+Lb0J2+h Uv2TreGfWppafdyUXapHC2FMSlWvkinLh6XkauZrUC+3oua0e7RX7Q== =JFRd -----END PGP SIGNATURE-----
- 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/
| |