Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Dec 2012 09:05:09 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Current FreeBSD <freebsd-current@FreeBSD.org>
Subject:   r243988M: /usr/src/sys/sys/socketvar.h:297:25: note: previous definition is here,extern struct uma_zone *socket_zone;
Message-ID:  <50C2F4B5.3010800@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig625333A9FA1CDFDA3E008621
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

There is a bug in kernel code preventing from kernel being build:

cc -c -O3 -pipe -march=3Dnative -fno-strict-aliasing -march=3Dnative
-std=3Dc99  -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=3Dkernel -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


--------------enig625333A9FA1CDFDA3E008621
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJQwvS7AAoJEOgBcD7A/5N8XqYIALE3N2bmN+KXe8HCHnAlyVWZ
wRLKEX2HrDE7KNygB0Xc/F4zE+bAShu0xqlYQNKLTv2dEvbwiN6KM4H301SmqXeo
4/Q9Nl2H81HLXxXwClrZnFaFRlTJfSmxYcjMp2t5DU2jT0o3g3jCGMqAVBBqGf7t
F1PUtrd3tfkR5GP1yEFVHZ2+2mOtm7/FXM2PuZ3z666ZiwDt0DnJc3mKYW50LlI5
ckgf9rtEQfVyPmUQ2u9z4sbqXlCABMHWUCO4rC5XjkgNLbjp7wrQSqBWi6i+J63O
q0f0cnTBXXqggO3IJUT2xer0sfGjioOIlN2C6Yb+IuIZ2/KzXXgUM1RLoEP6e0Y=
=63gk
-----END PGP SIGNATURE-----

--------------enig625333A9FA1CDFDA3E008621--



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