Compile error kernel 2.4.20-rc1
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Anders Karlsson
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 2003-05-03 11:34:57.000000000 +0200 renamed from drivers/atm/ambassador.c.bak 2003-05-03 11:31:39.000000000 +0200 +3 -3
@@ -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 2003-05-03 11:22:48.000000000 +0200 renamed from drivers/net/tokenring/olympic.c.bak 2003-05-03 11:22:36.000000000 +0200 +1 -2
@@ -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);
drivers/net/irda/ma600.c 2003-04-24 11:26:45.000000000 +0200 renamed from drivers/net/irda/ma600.c 2002-11-29 00:53:13.000000000 +0100 +1 -1
@@ -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 */
drivers/net/wan/sdla_chdlc.c 2003-04-24 11:28:24.000000000 +0200 renamed from drivers/net/wan/sdla_chdlc.c 2002-11-29 00:53:14.000000000 +0100 +2 -2
@@ -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 2003-04-25 01:53:26.000000000 +0200 renamed from drivers/sound/cs46xx.c.orig 2003-04-25 01:53:02.000000000 +0200 +2 -2
@@ -947,8 +947,8 @@ struct InitStruct { - u32 long off; - u32 long val; + u32 off; + u32 val; } InitArray[] = { {0x00000040, 0x3fc0000f}, {0x0000004c, 0x04800000},
Good Afternoon,
Quoted 3 lines · Arnd Bergmann
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