r243988M: /usr/src/sys/sys/socketvar.h:297:25: note: previous definition is here,extern struct uma_zone *socket_zone;
O. Hartmann
ohartman at zedat.fu-berlin.de
Sat Dec 8 08:05:22 UTC 2012
There is a bug in kernel code preventing from kernel being build:
cc -c -O3 -pipe -march=native -fno-strict-aliasing -march=native
-std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
-fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables
-ffreestanding -fstack-protector -Werror /usr/src/sys/kern/uipc_socket.c
/usr/src/sys/kern/uipc_socket.c:262:19: error: static declaration of
'socket_zone' follows non-static declaration
static uma_zone_t socket_zone;
^
/usr/src/sys/sys/socketvar.h:297:25: note: previous definition is here
extern struct uma_zone *socket_zone;
^
1 error generated.
*** [uipc_socket.o] Error code 1
Stop in /usr/obj/usr/src/sys/GATE.
*** [buildkernel] Error code 1
Stop in /usr/src.
*** [buildkernel] Error code 1
Stop in /usr/src.
Just want to note.
Regards,
Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121208/a519f40f/attachment-0001.sig>
More information about the freebsd-current
mailing list