2.5.72: sbni.c doesn't compile with gcc 3.3

2.5.72: sbni.c doesn't compile with gcc 3.3

Post by Adrian Bun » Wed, 18 Jun 2003 23:00:21



drivers/net/wan/sbni.c in 2.5.72 doesn't compile with gcc 3.3,
compilation with gcc 2.95 works.

The error message is:

<--  snip  -->

...
  gcc -Wp,-MD,drivers/net/wan/.sbni.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=sbni -DKBUILD_MODNAME=sbni -c -o
drivers/net/wan/sbni.o drivers/net/wan/sbni.c
drivers/net/wan/sbni.c: In function `sbni_pci_probe':
drivers/net/wan/sbni.c:280: warning: passing arg 1 of
`pci_request_region' makes pointer from integer without a cast
drivers/net/wan/sbni.c:283: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:116)
drivers/net/wan/sbni.c: In function `calc_crc32':
drivers/net/wan/sbni.c:1552: error: asm-specifier for variable `_crc'
conflicts with asm clobber list
make[3]: *** [drivers/net/wan/sbni.o] Error 1

<--  snip  -->

cu
Adrian

--

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.72 as VMware guest doesn't boot

Hi,

I'm trying to boot a 2.5.72 guest in VMware workstation 3.2.

It uncompresess the kernel, says it is booting linux, and that's the
end of the console messages.  

I have the feeling that I have possibly grossly misconfigured the
kernel. Does someone have a working .config file?

Just in case it's something more interesting, kgdb (which hasn't hit
it's initial breakpoint yet) shows:

(gdb) target remote /dev/ttys0
Remote debugging using /dev/ttys0
0x3c0a2965 in ?? ()
warning: shared library handler failed to enable breakpoint
(gdb) bt
#0  0x3c0a2965 in ?? ()
#1  0xc010c2fa in do_IRQ (regs=
      {ebx = 67598, ecx = 0, edx = 20831, esi = 636928, edi = -1072672768,
= -1070014472, eax = -1054257152, xds = 123, xes = 123, orig_eax = -256,
= -1070013788, xcs = 96, eflags = 646, esp = -1070012999, xss =
0481085})
    at arch/i386/kernel/irq.c:503
#2  0xc010ac70 in common_interrupt () at arch/i386/kernel/entry.S:426
(gdb) c
Continuing.
Can't send signals to this remote system.  SIGEMT not sent.

Program received signal SIGEMT, Emulation trap.
0x3c0a2965 in ?? ()
(gdb)

Thanks for any help.

- Peter -
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. kerneltrap.org: anybody read it?

3. Kernel 2.5.72 doesn't load up

4. What is the spelling for "Message of the Day" file in /etc??

5. 2.5.72 doesn't boot

6. RE Oracle installation on Linux

7. 2.5.72 doesn't boot solution

8. Security Books

9. isdn compile-errors (Linux 2.5.72)

10. BENCHMARK] 2.5.72, 2.5.72-mm1, 2.5.71, 2.5.71-bk1, 2.5.71-mjb1

11. PnP Changes for 2.5.72

12. Oops captured of 2.5.70-mm9, 2.5.71-mm1 and 2.5.72-mm1

13. new 2.5.72 breaks aumix