From owner-freebsd-questions Fri Jul 20 12:42:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from vallesnet.org (vallesnet.org [194.224.210.5]) by hub.freebsd.org (Postfix) with ESMTP id B8DC537B401 for ; Fri, 20 Jul 2001 12:42:04 -0700 (PDT) (envelope-from undergra@vallesnet.org) Received: from daemon (79-BARC-X76.libre.retevision.es [62.82.26.79]) by vallesnet.org (8.10.2/8.10.2) with SMTP id f6KJg1k23712 for ; Fri, 20 Jul 2001 21:42:02 +0200 Message-ID: <000101c11154$87028960$0164a8c0@daemon> From: "undergra" To: Subject: kernel compilation error Date: Fri, 20 Jul 2001 21:45:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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