[vortex] =?us-ascii?B?M2M1OXguYyBjb21waWxlIGVycm9ycwA=?=

braganca@cenpes.petrobras.com.br braganca@cenpes.petrobras.com.br
Tue, 14 Nov 2000 15:06:54 -0200


Hello all,

  Purpose: Wol on a 3C905C
  Problem: Machine awake after a power loss but not after a shutdown
  Suspect: Current driver (3c59x.c V0.99H) do not leave NIC in sleep mode
  properly

  Trying to compile the driver 3c59x.c:v0.99Qk 7/5/2000 from Donald Becker
  I
  followed the script in http://www.scyld.com/network/updates.html
  When compiling 3c59x.c and pci-scan.c I got:

  Erros found compiling 3c59x.c:
  ___________________________________________________________________________
  [root@s2 modules]# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c 3c59x.c
  In file included from 3c59x.c:112:
  kern_compat.h:164: parse error before `0'
  kern_compat.h:168: warning: type defaults to `int' in declaration of
  `mark_bh'
  kern_compat.h:168: warning: parameter names (without types) in function
  declaration
  kern_compat.h:168: conflicting types for `mark_bh'
  /usr/include/asm/softirq.h:101: previous declaration of `mark_bh'
  kern_compat.h:168: warning: data definition has no type or storage class
  kern_compat.h:168: parse error before `}'
  gcc: Internal compiler error: program cc1 got fatal signal 11
  [root@s2 modules]#


  Erros found compiling pci-scan.c:
  ____________________________________________________________________________
  [root@s2 modules]# gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall
  -Wstrict-prototypes -O6 -c pci-scan.c
  In file included from pci-scan.c:67:
  kern_compat.h:164: parse error before `0'
  kern_compat.h:168: warning: type defaults to `int' in declaration of
  `mark_bh'
  kern_compat.h:168: warning: parameter names (without types) in function
  declaration
  kern_compat.h:168: warning: data definition has no type or storage class
  kern_compat.h:168: parse error before `}'
  [root@s2 modules]#

  Please Help!!

  Aditional information:
  Linux Kernel 2.2.14
  egcs-1.1.2
  glibc-2.1.2


  Thanks all
  Ricardo