Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2007 12:01:18 -0600
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-questions@freebsd.org
Cc:        Frank Staals <frankstaals@gmx.net>
Subject:   Re: FreeBSD 6.1-RELEASE and nfe ?
Message-ID:  <200701091201.18242.josh@tcbug.org>
In-Reply-To: <45A35C68.1040505@gmx.net>
References:  <45A35C68.1040505@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 09 January 2007 03:12, Frank Staals wrote:
> Hey,
>
> I am running a FreeBSD 6.1-RELEASE machine with a MSI K8N SLI-F
> mainboard, it has problems with the nve driver so I searched around
> on the internet and found this site about the nfe driver:
> http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
> . Allthough there were no files for 6.1-RELEASE. Are there specific
> files or instructions for installing on 6.1-RELEASE. I'm not too
> fond of upgrading my system at this point and when I tried using
> the 6.2-PRERELEASE files I came upon these errors during the 'make'
> when rebuilding my kernel:
>
>
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mcmodel=kernel -mno-red-zone 
> -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -Werror
> ../../../dev/mii/dcphy.c
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../..
> -I../../../contrib/altq -I../../../contrib/ipfilter
> -I../../../contrib/pf -I../../../contrib/dev/ath
> -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm
> -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common -finline-limit=8000 --param
> inline-unit-growth=100 --param large-function-growth=1000
> -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2
> -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables
> -ffreestanding -Werror  ../../../dev/mii/e1000phy.c
> ../../../dev/mii/e1000phy.c: In function `e1000phy_attach':
> ../../../dev/mii/e1000phy.c:133: error: `MII_ANEGTICKS_GIGE'
> undeclared (first use in this function)
> ../../../dev/mii/e1000phy.c:133: error: (Each undeclared identifier
> is reported only once
> ../../../dev/mii/e1000phy.c:133: error: for each function it
> appears in.) ../../../dev/mii/e1000phy.c:136: error: `fast_ether'
> undeclared (first use in this function)
> ../../../dev/mii/e1000phy.c:137: error: `esc' undeclared (first use
> in this function)
> ../../../dev/mii/e1000phy.c:146: error: `MII_ANEGTICKS' undeclared
> (first use in this function)
> ../../../dev/mii/e1000phy.c:119: warning: unused variable `id'
> ../../../dev/mii/e1000phy.c: In function `e1000phy_service':
> ../../../dev/mii/e1000phy.c:298: warning: passing arg 1 of
> `e1000phy_mii_phy_auto' from incompatible pointer type
> ../../../dev/mii/e1000phy.c:398: warning: passing arg 1 of
> `e1000phy_mii_phy_auto' from incompatible pointer type
> ../../../dev/mii/e1000phy.c: At top level:
> ../../../dev/mii/e1000phy.c:484: error: conflicting types for
> 'e1000phy_mii_phy_auto'
> ../../../dev/mii/e1000phy.c:91: error: previous declaration of
> 'e1000phy_mii_phy_auto' was here
> ../../../dev/mii/e1000phy.c:484: error: conflicting types for
> 'e1000phy_mii_phy_auto'
> ../../../dev/mii/e1000phy.c:91: error: previous declaration of
> 'e1000phy_mii_phy_auto' was here
> ../../../dev/mii/e1000phy.c:91: warning: 'e1000phy_mii_phy_auto'
> declared `static' but never defined
> ../../../dev/mii/e1000phy.c:484: warning: 'e1000phy_mii_phy_auto'
> defined but not used
> *** Error code 1
>
> Stop in /usr/src/sys/amd64/compile/PFSERVERKERNEL.
> root@FStaals$
>
> I hope anyone can help me. If it is not possible to install nfe on
> 6.1-RELEASE would upgrading to 6-STABLE allow me to install the
> driver ?
>
> Regards,

It says it needs 6.2-PRERELEASE or higher for a reason.  Not a big 
shock that it didn't build on your 6.1 box.

Upgrading to RELENG_6_2 or RELENG_6 will get you to a point where you 
can build the driver.

-- 
Thanks,

Josh Paetzel



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