Re: 2.2.13 compile error

Marek Habersack (grendel@vip.net.pl)
Thu, 21 Oct 1999 13:38:02 +0200


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

* Gregory T. Norris said:
> I'm getting the following errors trying to compile 2.2.13:
>=20
> -----
> In file included from init/version.c:12:
> /usr/local/src/linux/linux-2.2.13/include/linux/compile.h:1: parse=20
> error before `-'
> init/version.c:20: `UTS_VERSION' undeclared here (not in a function)
> init/version.c:20: initializer element is not constant
> init/version.c:20: (near initialization for `System_utsname.version')
> init/version.c:26: parse error before `UTS_VERSION'
Were you using Debian/potato with ash by any chance? If so, then the problem
is with the built-in 'echo' which doesn't accept the '-e' and '-n'
commandline arguments and echoes them as part of the message. Linux Makefile
invokes echo with '-n', so if you look into the include/linux/compile.h you
will see at the top that the UTS_VERSION #define looks like this:

-n #define UTS_VERSION

I'm fixing ash right now.

marek
--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature

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

iEYEAREBAAYFAjgO+xoACgkQq3909GIf5urvgQCfaIs+VHSt+akM7/L5Bgafk3V3
OHQAn0ff0aIg5pyQ4207i4NDeRRpBnSG
=9OjS
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--

-
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/