<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
That didn't seem to solve the problem :( <br>
<br>
Anything else that could be causing that?<br>
<br>
Thanks.<br>
<br>
<br>
PD: Actually, the error bellow appears when I disable networking dummy
device, if I enable dummy it fails compiling that (either if I put it
as module or not), doesn't get to compile sch_cbq.c<br>
<br>
<br>
<br>
<br>
Pete Nesbitt wrote:<br>
<blockquote type="cite" cite="mid200403051427.41344.pete@linux1.ca">
  <pre wrap="">On March 5, 2004 12:19 pm, Leo wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

Having trouble compiling the kernel, don't know why, never had any
problem, just with RedHat 9.

Just make xconfig

and when doing 'make dep && make && make modules', I get the errors bellow.

How can this be ?

(I'm trying to include Network QoS support into the kernel, but it
doesn't seem to compile).



make[2]: Leaving directory `/usr/src/linux-2.4.20-30.9/net/netlink'
make -C sched modules
make[2]: Entering directory `/usr/src/linux-2.4.20-30.9/net/sched'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-30.9/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-30.9/include/linux/modversions.h  -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sch_cbq  -c -o sch_cbq.o sch_cbq.c
In file included from
/usr/src/linux-2.4.20-30.9/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-30.9/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-30.9/include/linux/module.h:12,
                 from sch_cbq.c:14:
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:60: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:60: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:83: invalid suffix on
integer constant
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:83: parse error
before numeric constant
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:83: warning: function
declaration isn't a prototype
In file included from
/usr/src/linux-2.4.20-30.9/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-30.9/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-30.9/include/linux/module.h:12,
                 from sch_cbq.c:14:
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:268:1: warning:
"EISA_bus" redefined
In file included from
/usr/src/linux-2.4.20-30.9/include/linux/modversions.h:133,
                 from <command line>:1:
/usr/src/linux-2.4.20-30.9/include/linux/modules/i386_ksyms.ver:101:1:
warning: this is the location of the previous definition
/usr/src/linux-2.4.20-30.9/include/asm/processor.h:270: warning:
parameter names (without types) in function declaration
In file included from sch_cbq.c:14:
/usr/src/linux-2.4.20-30.9/include/linux/module.h:183: invalid suffix on
integer constant
/usr/src/linux-2.4.20-30.9/include/linux/module.h:183: parse error
before numeric constant
/usr/src/linux-2.4.20-30.9/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-30.9/include/linux/module.h:183: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-30.9/include/linux/module.h:184: invalid suffix on
integer constant
/usr/src/linux-2.4.20-30.9/include/linux/module.h:184: parse error
before numeric constant
/usr/src/linux-2.4.20-30.9/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-30.9/include/linux/module.h:184: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-30.9/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-30.9/include/linux/module.h:185: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-30.9/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-30.9/include/linux/module.h:186: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-30.9/include/linux/module.h:187: invalid suffix on
integer constant
/usr/src/linux-2.4.20-30.9/include/linux/module.h:187: parse error
before numeric constant
/usr/src/linux-2.4.20-30.9/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-30.9/include/linux/module.h:187: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-30.9/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-30.9/include/linux/module.h:196: warning:
parameter names (without types) in function declaration
make[2]: *** [sch_cbq.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-30.9/net/sched'
make[1]: *** [_modsubdir_sched] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-30.9/net'
make: *** [_mod_net] Error 2
    </pre>
  </blockquote>
  <pre wrap=""><!---->

There appears to be a bug in xconfig. You will not get the error if you use 
either "make config" or "make menuconfig" (menuconfig being a tui and config 
being a pure command drive intrerface)
  </pre>
</blockquote>
</body>
</html>