Re: [SLUG] Kernel module compile errors

From: Eben King (eben1@tampabay.rr.com)
Date: Sun Jan 11 2004 - 16:46:14 EST


On Sun, 11 Jan 2004, Mario Lombardo wrote:

> I'm currently using 2.4.20-18.8 and I want to upgrade to 2.4.20-27.9. I have
> installed modutils-2.4.22-8 I've installed kernel-source-2.4.20-27.9. After
> jumping to /usr/src/linux-2.4.20-27.9, I run 'make menuconfig', I run 'make
> dep' and then 'make bzImage'.

Note that you can do something like 'make dep bzImage modules'. I wrote a
script that does it all, so I just call "../compile & tail -f
compile.std*" to watch it.

> After that, I run 'make modules' and here's some of the tail of errors I get:
>
> /usr/src/linux-2.4.20-27.9/include/net/tcp.h:1349: invalid suffix on integer
> constant

That's really the only significant one; after that it's totally lost. It
seems to be line 1349 in include/net/tcp.h where the problem shows up.

Is there a reason you don't use the stock sources? You may not have
this problem. I've used stock sources with RedHat and Mandrake distros
for years.

-- 
The people don't want war, but it's always simple to drag the people along.
The people can always be brought to the bidding of the leaders.  All you
have to do is tell them they are being attacked, and denounce the pacifists
for lack of patriotism, and exposing the country. -- Hermann Goering

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:20:04 EDT