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>

index | next in thread | previous in thread | raw e-mail

> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -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 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-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 reported 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 */

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

-- 
wbr,
pluknet


help

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