2003-05-03 04:50:26

by Anders Karlsson

[permalink] [raw]
Subject: Compile error kernel 2.4.20-rc1

Hi,

Just tried to compile kernel 2.4.21-rc1 and I get the compile error as
per attached file 'compile_error.txt'. The config file used is also
attached. This happened while doing 'make rpm'. This is being compiled
on SuSE Pro 8.2 which is using GCC 3.3.

I'll happily try out patches.

/A


Attachments:
compile_error.txt (1.65 kB)
.config (39.14 kB)
signature.asc (198.00 B)
This is a digitally signed message part
Download all attachments

2003-05-03 07:15:32

by Anders Karlsson

[permalink] [raw]
Subject: Re: Compile error kernel 2.4.21-rc1

On Sat, 2003-05-03 at 06:02, Anders Karlsson wrote:
> Hi,
>
> Just tried to compile kernel 2.4.21-rc1 and I get the compile error as
> per attached file 'compile_error.txt'. The config file used is also
> attached. This happened while doing 'make rpm'. This is being compiled
> on SuSE Pro 8.2 which is using GCC 3.3.
>
> I'll happily try out patches.

Found another compile error. Again attached in 'compile_error.txt'.

/Anders


Attachments:
compile_error.txt (2.78 kB)
signature.asc (198.00 B)
This is a digitally signed message part
Download all attachments

2003-05-03 08:47:32

by Anders Karlsson

[permalink] [raw]
Subject: Re: Compile error kernel 2.4.21-rc1

On Sat, 2003-05-03 at 08:27, Anders Karlsson wrote:
> On Sat, 2003-05-03 at 06:02, Anders Karlsson wrote:
> > Hi,
> >
> > Just tried to compile kernel 2.4.21-rc1 and I get the compile error as
> > per attached file 'compile_error.txt'. The config file used is also
> > attached. This happened while doing 'make rpm'. This is being compiled
> > on SuSE Pro 8.2 which is using GCC 3.3.
> >
> > I'll happily try out patches.
>
> Found another compile error. Again attached in 'compile_error.txt'.
>
And another one.

/Anders


Attachments:
compile_error.txt (1.47 kB)
signature.asc (198.00 B)
This is a digitally signed message part
Download all attachments

2003-05-03 09:30:44

by Arnd Bergmann

[permalink] [raw]
Subject: Re: Compile error kernel 2.4.20-rc1

Anders Karlsson wrote:

> Just tried to compile kernel 2.4.21-rc1 and I get the compile error as
> per attached file 'compile_error.txt'. The config file used is also
> attached. This happened while doing 'make rpm'. This is being compiled
> on SuSE Pro 8.2 which is using GCC 3.3.
>
> I'll happily try out patches.

Try this one. Note that you can use 'make -k vmlinux modules' to find
all the broken files in one run.

Arnd <><

--- ./drivers/atm/ambassador.c.bak 2003-05-03 11:31:39.000000000 +0200
+++ ./drivers/atm/ambassador.c 2003-05-03 11:34:57.000000000 +0200
@@ -290,12 +290,12 @@
/********** microcode **********/

#ifdef AMB_NEW_MICROCODE
-#define UCODE(x) UCODE1(atmsar12.,x)
+#define UCODE(x) UCODE1(atmsar12,x)
#else
-#define UCODE(x) UCODE1(atmsar11.,x)
+#define UCODE(x) UCODE1(atmsar11,x)
#endif
#define UCODE2(x) #x
-#define UCODE1(x,y) UCODE2(x ## y)
+#define UCODE1(x,y) UCODE2(x.y)

static u32 __initdata ucode_start =
#include UCODE(start)
--- ./drivers/net/tokenring/olympic.c.bak 2003-05-03 11:22:36.000000000 +0200
+++ ./drivers/net/tokenring/olympic.c 2003-05-03 11:22:48.000000000 +0200
@@ -655,8 +655,7 @@
printk(" stat_ring[7]: %p\n", &(olympic_priv->olympic_rx_status_ring[7]) );

printk("RXCDA: %x, rx_ring[0]: %p\n",readl(olympic_mmio+RXCDA),&olympic_priv->olympic_rx_ring[0]);
- printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr =
-%08x\n",olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ;
+ printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr = %08x\n",olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ;
#endif

writew((((readw(olympic_mmio+RXENQ)) & 0x8000) ^ 0x8000) | i,olympic_mmio+RXENQ);
diff -ur kernel-source-2.4.20-hammer-orig/drivers/net/irda/ma600.c kernel-source-2.4.20-hammer/drivers/net/irda/ma600.c
--- kernel-source-2.4.20-hammer-orig/drivers/net/irda/ma600.c 2002-11-29 00:53:13.000000000 +0100
+++ kernel-source-2.4.20-hammer/drivers/net/irda/ma600.c 2003-04-24 11:26:45.000000000 +0200
@@ -53,7 +53,7 @@
if(!(expr)) { \
printk( "Assertion failed! %s,%s,%s,line=%d\n",\
#expr,__FILE__,__FUNCTION__,__LINE__); \
- ##func}
+ func}
#endif

/* convert hex value to ascii hex */
diff -ur kernel-source-2.4.20-hammer-orig/drivers/net/wan/sdla_chdlc.c kernel-source-2.4.20-hammer/drivers/net/wan/sdla_chdlc.c
--- kernel-source-2.4.20-hammer-orig/drivers/net/wan/sdla_chdlc.c 2002-11-29 00:53:14.000000000 +0100
+++ kernel-source-2.4.20-hammer/drivers/net/wan/sdla_chdlc.c 2003-04-24 11:28:24.000000000 +0200
@@ -591,8 +591,8 @@


if (chdlc_set_intr_mode(card, APP_INT_ON_TIMER)){
- printk (KERN_INFO "%s:
- Failed to set interrupt triggers!\n",
+ printk (KERN_INFO "%s: "
+ "Failed to set interrupt triggers!\n",
card->devname);
return -EIO;
}
--- ./drivers/sound/cs46xx.c.orig 2003-04-25 01:53:02.000000000 +0200
+++ ./drivers/sound/cs46xx.c 2003-04-25 01:53:26.000000000 +0200
@@ -947,8 +947,8 @@

struct InitStruct
{
- u32 long off;
- u32 long val;
+ u32 off;
+ u32 val;
} InitArray[] = { {0x00000040, 0x3fc0000f},
{0x0000004c, 0x04800000},

2003-05-03 09:48:51

by Anders Karlsson

[permalink] [raw]
Subject: Re: Compile error kernel 2.4.21-rc1

On Sat, 2003-05-03 at 09:59, Anders Karlsson wrote:
> On Sat, 2003-05-03 at 08:27, Anders Karlsson wrote:
> > On Sat, 2003-05-03 at 06:02, Anders Karlsson wrote:
> > > Hi,
> > >
> > > Just tried to compile kernel 2.4.21-rc1 and I get the compile error as
> > > per attached file 'compile_error.txt'. The config file used is also
> > > attached. This happened while doing 'make rpm'. This is being compiled
> > > on SuSE Pro 8.2 which is using GCC 3.3.
> > >
> > > I'll happily try out patches.
> >
> > Found another compile error. Again attached in 'compile_error.txt'.
> >
> And another one.

And yet another one.

/Anders


Attachments:
compile_error.txt (2.05 kB)
signature.asc (198.00 B)
This is a digitally signed message part
Download all attachments

2003-05-03 15:18:36

by Anders Karlsson

[permalink] [raw]
Subject: Re: Compile error kernel 2.4.20-rc1

Good Afternoon,

On Sat, 2003-05-03 at 10:40, Arnd Bergmann wrote:
>
> Try this one. Note that you can use 'make -k vmlinux modules' to find
> all the broken files in one run.

Many thanks for the patch, I have applied it, but I still ended up with
compile time errors elsewhere in the wan drivers. I ended up minimising
the configuration to eliminate the parts with errors. I will go through
and document all breaks in one go once I have got the other bits I need
to do out of the way.

/Anders


Attachments:
signature.asc (198.00 B)
This is a digitally signed message part