From owner-freebsd-questions Fri Dec 27 6:56:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1362937B401 for ; Fri, 27 Dec 2002 06:56:23 -0800 (PST) Received: from catflap.home.slightlystrange.org (www.slightlystrange.org [62.190.193.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF33043EC5 for ; Fri, 27 Dec 2002 06:56:16 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18RvuF-000F1J-00 for freebsd-questions@FreeBSD.org; Fri, 27 Dec 2002 14:56:11 +0000 Date: Fri, 27 Dec 2002 14:56:11 +0000 From: Daniel Bye To: "freebsd-questions@FreeBSD.org" Subject: Re: your mail Message-ID: <20021227145611.GB57381@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: "freebsd-questions@FreeBSD.org" References: <18818021.1041000486688.JavaMail.root@www2.one.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18818021.1041000486688.JavaMail.root@www2.one.lv> User-Agent: Mutt/1.4i 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 On Fri, Dec 27, 2002 at 04:48:06PM +0200, Sanja aka A_l_e_x wrote: > I`m running FreeBSD 4.4-RELEASE. when i`m compiling kernel (do command "make"), freebsd prints me cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../pci/if_rl.c > ../../pci/if_rl.c:214: `miibus_readreg_desc' undeclared here (not in a function) > ../../pci/if_rl.c:214: initializer element is not constant > ../../pci/if_rl.c:214: (near initialization for `rl_methods[6].desc') > ../../pci/if_rl.c:215: `miibus_writereg_desc' undeclared here (not in a function) > ../../pci/if_rl.c:215: initializer element is not constant > ../../pci/if_rl.c:215: (near initialization for `rl_methods[7].desc') > ../../pci/if_rl.c:216: `miibus_statchg_desc' undeclared here (not in a function) > ../../pci/if_rl.c:216: initializer element is not constant > ../../pci/if_rl.c:216: (near initialization for `rl_methods[8].desc') > *** Error code 1 > Can you help me? You need to enable miibus in your kernel config to use the rl ethernet interface. This, from the GENERIC file explains: # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support [snip] device rl # RealTek 8129/8139 Re-enable it and try again. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message