Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 21:45:25 +0200
From:      "undergra" <undergra@vallesnet.org>
To:        <freebsd-questions@freebsd.org>
Subject:   kernel compilation error
Message-ID:  <000101c11154$87028960$0164a8c0@daemon>

next in thread | raw e-mail | index | archive | help
Hi, i upgrated to 4.3-STABLE but the kernel compilation (GENERIC) fails:

# cd /usr/src
# make buildkernel KERNCONF=GENERIC
[....]
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions
 -an
si  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sy
s/co
ntrib/ipfilter  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary
=2  /usr/src/sys/pci/if_dc.c
/usr/src/sys/pci/if_dc.c: In function `dc_start':
/usr/src/sys/pci/if_dc.c:2853: syntax error before `static'
/usr/src/sys/pci/if_dc.c:2856: `xsc' undeclared (first use in this function)
/usr/src/sys/pci/if_dc.c:2856: (Each undeclared identifier is reported only
once
/usr/src/sys/pci/if_dc.c:2856: for each function it appears in.)
/usr/src/sys/pci/if_dc.c:3019: syntax error before `static'
/usr/src/sys/pci/if_dc.c:3037: warning: `return' with a value, in function
retur
ning void
/usr/src/sys/pci/if_dc.c:3043: syntax error before `static'
/usr/src/sys/pci/if_dc.c:3057: `ifmr' undeclared (first use in this
function)
/usr/src/sys/pci/if_dc.c:3068: syntax error before `static'
/usr/src/sys/pci/if_dc.c:3074: `data' undeclared (first use in this
function)
/usr/src/sys/pci/if_dc.c:3080: `command' undeclared (first use in this
function)
/usr/src/sys/pci/if_dc.c:3084: warning: unreachable code at beginning of
switch
statement
/usr/src/sys/pci/if_dc.c:3128: warning: `return' with a value, in function
retur
ning void
/usr/src/sys/pci/if_dc.c:3131: syntax error before `static'
/usr/src/sys/pci/if_dc.c:3155: syntax error before `static'
/usr/src/sys/pci/if_dc.c:3211: syntax error before `static'
/usr/src/sys/pci/if_dc.c:3216: `dev' undeclared (first use in this function)
/usr/src/sys/pci/if_dc.c:3222: syntax error at end of input
/usr/src/sys/pci/if_dc.c:202: warning: `dc_ioctl' used but never defined
/usr/src/sys/pci/if_dc.c:203: warning: `dc_init' used but never defined
/usr/src/sys/pci/if_dc.c:204: warning: `dc_stop' used but never defined
/usr/src/sys/pci/if_dc.c:205: warning: `dc_watchdog' used but never defined
/usr/src/sys/pci/if_dc.c:206: warning: `dc_shutdown' used but never defined
/usr/src/sys/pci/if_dc.c:207: warning: `dc_ifmedia_upd' used but never
defined
/usr/src/sys/pci/if_dc.c:208: warning: `dc_ifmedia_sts' used but never
defined
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.


anyone help me please?

thanks



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c11154$87028960$0164a8c0>