> 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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"