Re: [head tinderbox] failure on amd64/amd64

From: pluknet <pluknet_at_gmail.com>
Date: Wed, 31 Mar 2010 18:07:14 +0400
> 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
_at__at_ -269,7 +269,7 _at__at_
 #endif /* ~EM_LEGACY_IRQ */

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

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

-- 
wbr,
pluknet
Received on Wed Mar 31 2010 - 12:07:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC