Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2010 09:14:03 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Paul B Mahol <onemda@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: kmod if_alc in 8-CURRENT
Message-ID:  <20101022071403.GA2152@current.Sisis.de>
In-Reply-To: <AANLkTi=vT4AXcYDyT3Q-08=YShrO3N7PkWOD-sVkDkOh@mail.gmail.com>
References:  <20101021141206.GA37339@current.Sisis.de> <AANLkTinL_C6yJ_wu9EJZPPvqL=aVuSBNpvcY0uCp8co%2B@mail.gmail.com> <20101021184149.GA1142@tiny> <AANLkTi=vT4AXcYDyT3Q-08=YShrO3N7PkWOD-sVkDkOh@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, October 21, 2010 a las 08:44:32PM +0200, Paul B Mahol escribió:

> On 10/21/10, Matthias Apitz <guru@unixarea.de> wrote:
> > El dia Thursday, October 21, 2010 a las 08:35:09PM +0200, Paul B Mahol
> > escribio:
> >
> >> > # cd /usr/src
> >> > # make buildkernel KERNCONF=GENERIC
> >> >
> >> > does not build the module if_alc.ko
> >> >
> >> > What I'm missing? Or what is the correct way to get this module for my
> >> > kernel level?
> >>
> >> /sys/modules/alc
> >
> > Yes, thanks. I realized this some hours ago and CVS up this too, but
> > the module does not get build.
> 
> Because you did not have Makefiles of higher directories.
> 
> Anyway:
> 
> # cd /sys/modules/alc && make install clean
> 
> Should do it.

Thanks, but:

# make
Warning: Object directory not changed from original
/usr/src/sys/modules/alc
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc   -I. -I@ -I@/contrib/altq -finli
ne-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -mno-align-long
-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse
-mno-sse2 -mno-sse3 -ffreestanding -fsta
ck-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototype
s  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions 
-c /usr/src/sys/modules/alc/../../dev/alc/if_alc.c
cc1: warnings being treated as errors
/usr/src/sys/modules/alc/../../dev/alc/if_alc.c: In function
'alc_rxfilter':
/usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3465: warning: implicit
declaration of function 'if_maddr_rl
ock'
/usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3465: warning: nested
extern declaration of 'if_maddr_rlock'
/usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3473: warning: implicit
declaration of function 'if_maddr_ru
nlock'
/usr/src/sys/modules/alc/../../dev/alc/if_alc.c:3473: warning: nested
extern declaration of 'if_maddr_runloc
k'
*** Error code 1

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



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