Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 18:07:14 +0400
From:      pluknet <pluknet@gmail.com>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        amd64@freebsd.org, current@freebsd.org
Subject:   Re: [head tinderbox] failure on amd64/amd64
Message-ID:  <v2ta31046fc1003310707le4b2f8few236a118a9faa1470@mail.gmail.com>
In-Reply-To: <201003311332.o2VDWC2w042238@freebsd-current.sentex.ca>
References:  <201003311332.o2VDWC2w042238@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0=
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =A0-Wmissing-p=
rototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign=
 -fformat-extensions -nostdinc =A0-I. -I/src/sys -I/src/sys/contrib/altq -D=
_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -fin=
line-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-g=
rowth=3D1000 -DGPROF -falign-functions=3D16 -DGPROF4 -DGUPROF -fno-builtin =
-fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone =A0-mfpmath=3D387 -=
mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow =A0-msoft-float -fno-asynch=
ronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofile=
r-epilogue /src/sys/dev/e1000/if_lem.c -I/src/sys/dev/e1000
> /src/sys/dev/e1000/if_lem.c: In function 'lem_ioctl':
> /src/sys/dev/e1000/if_lem.c:1125: error: 'lem_poll' undeclared (first use=
 in this function)
> /src/sys/dev/e1000/if_lem.c:1125: error: (Each undeclared identifier is r=
eported only once
> /src/sys/dev/e1000/if_lem.c:1125: error: for each function it appears in.=
)
> *** Error code 1

I guess it should fix error.

--- src/sys/dev/e1000/if_lem.c.orig     2010-03-31 18:02:30.000000000 +0400
+++ src/sys/dev/e1000/if_lem.c  2010-03-31 18:03:29.000000000 +0400
@@ -269,7 +269,7 @@
 #endif /* ~EM_LEGACY_IRQ */

 #ifdef DEVICE_POLLING
-static poll_handler_t em_poll;
+static poll_handler_t lem_poll;
 #endif /* POLLING */

 /*********************************************************************

--=20
wbr,
pluknet



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