Re: basic module bug

Bob McElrath (mcelrath@draal.physics.wisc.edu)
Sat, 25 Aug 2001 16:03:22 -0500


--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Evgeny Polyakov [johnpol@2ka.mipt.ru] wrote:
> Hello.
>=20
> On Sat, 25 Aug 2001 10:56:45 -0500
> Bob McElrath <mcelrath@draal.physics.wisc.edu> wrote:
>=20
> BM> Where can I find a "skeleton" kernel module for comparison?
>=20
> You wrote it some strins below.

Aha! It was caused by not passing the right compiler options. There
are some compiler options (CFLAGS) in arch/{arch}/Makefile that should
be included for modules, and some in the top level Makefile.

Cheers,
-- Bob

Bob McElrath (rsmcelrath@students.wisc.edu)=20
Univ. of Wisconsin at Madison, Department of Physics

--u3/rZRmxL6MmkK24
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjuIEpoACgkQjwioWRGe9K3eZACePdt04F4OcVUUPvBBi6Re0DaX
8LUAn1sDtzBad8m6yM2EBGGZREvYyeq+
=LqIc
-----END PGP SIGNATURE-----

--u3/rZRmxL6MmkK24--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/