Re: Build with 2.6.19-rc3 fails
Elimar Riesebieter <[email protected]> Fri, 27 Oct 2006 22:27:51 +0200
| Newsgroups | gmane.linux.ports.ppc.mol.general |
|---|---|
| Organization | LXTEC |
| Message-ID | <[email protected]> |
--===============1423204786==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz"
Content-Disposition: inline
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, 27 Oct 2006 the mental interface of
Andreas Schwab told:
[...]
> --- src/netdriver/sheep.c 2006-10-05 20:28:12.000000000 +0200
> +++ src/netdriver/sheep.c 2006-10-05 21:27:08.000000000 +0200
Yeah, that patch works ;)
In addition we need:
diff -ur mol~/src/kmod/Linux/archinclude.h mol/src/kmod/Linux/archinclude.h
--- mol~/src/kmod/Linux/archinclude.h 2006-10-07 17:57:59.000000000 +0200
+++ mol/src/kmod/Linux/archinclude.h 2006-10-14 21:00:13.000000000 +0200
@@ -24,9 +24,18 @@
#include "mol_config.h"
#include "kconfig.h"
=20
-#include <linux/config.h>
#include <linux/version.h>
=20
+#if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2,6,18)
+#include <linux/utsrelease.h>
+#endif
+
+#if LINUX_VERSION_CODE <=3D KERNEL_VERSION(2,6,18)
+#include <linux/config.h>
+#else
+#include <linux/autoconf.h>
+#endif
+
#if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2,6,0)
#define LINUX_26
#endif
diff -ur mol~/src/kmod/Linux/dev.c mol/src/kmod/Linux/dev.c
--- mol~/src/kmod/Linux/dev.c 2006-10-07 17:57:59.000000000 +0200
+++ mol/src/kmod/Linux/dev.c 2006-10-14 21:00:13.000000000 +0200
@@ -15,7 +15,6 @@
*/
=20
#include "archinclude.h"
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
diff -ur mol~/src/kmod/Linux/kuname.c mol/src/kmod/Linux/kuname.c
--- mo~/src/kmod/Linux/kuname.c 2006-10-07 17:57:59.000000000 +0200
+++ mol/src/kmod/Linux/kuname.c 2006-10-14 21:00:13.000000000 +0200
@@ -14,12 +14,18 @@
* =20
*/
=20
-#include <linux/config.h>
#include <linux/version.h>
+
#if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2,6,18)
#include <linux/utsrelease.h>
#endif
=20
+#if LINUX_VERSION_CODE <=3D KERNEL_VERSION(2,6,18)
+#include <linux/config.h>
+#else
+#include <linux/autoconf.h>
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
=20
#ifdef CONFIG_SMP
diff -ur mol~/src/netdriver/kuname.c mol/src/netdriver/kuname.c
--- mol~/src/netdriver/kuname.c 2006-10-07 17:57:59.000000000 +0200
+++ mol/src/netdriver/kuname.c 2006-10-14 21:00:13.000000000 +0200
@@ -14,12 +14,18 @@
* =20
*/
=20
-#include <linux/config.h>
#include <linux/version.h>
+
#if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2,6,18)
#include <linux/utsrelease.h>
#endif
=20
+#if LINUX_VERSION_CODE <=3D KERNEL_VERSION(2,6,18)
+#include <linux/config.h>
+#else
+#include <linux/autoconf.h>
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
=20
#ifdef CONFIG_SMP
Elimar
--=20
Planung:
Ersatz des Zufalls durch den Irrtum.
-unknown-
--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFQmvG3Ig8bsVPf7ARAsksAJ9s0zt+NrjWaY54sUu9/j88X3lzjwCfat8q
5YsEa2snECOTNE/DDbJJ0Mk=
=ot0O
-----END PGP SIGNATURE-----
--3V7upXqbjpZ4EhLz--
--===============1423204786==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
mol-general mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/mol-general
--===============1423204786==--