Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 14:56:11 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   Re: your mail
Message-ID:  <20021227145611.GB57381@catflap.home.slightlystrange.org>
In-Reply-To: <18818021.1041000486688.JavaMail.root@www2.one.lv>
References:  <18818021.1041000486688.JavaMail.root@www2.one.lv>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021227145611.GB57381>