Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 21:48:57 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        current@freebsd.org
Subject:   kernel build error (zlib.ko)
Message-ID:  <20070516194857.GI94292@e.0x20.net>

next in thread | raw e-mail | index | archive | help

--ZJcv+A0YCCLh2VIg
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

With today's sources I get an error while compiling the kernel:

=3D=3D=3D> zlib (all)
cc -O2 -fno-strict-aliasing -pipe -march=3Dpentium-m -Werror -D_KERNEL
-DKLD_MODULE -std=3Dc99 -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS
-include /usr/obj/usr/src/sys/MAGGIE/opt_global.h -I. -I@
-I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100
--param large-function-growth=3D1000 -fno-common -g
-I/usr/obj/usr/src/sys/MAGGIE -mno-align-long-strings
-mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -fformat-extensions -c
/usr/src/sys/modules/zlib/../../net/zlib.c
ld  -d -warn-common -r -d -o zlib.kld zlib.o
:> export_syms
awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld
export_syms | xargs -J% objcopy % zlib.kld
ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=3Dzlib.ko.symbols zlib.ko.debug
zlib.ko
1 error
*** Error code 2
1 error
*** Error code 2
1 error


Any ideas what could be the cause?

Lars

--=20
Lars Engels
E-Mail: lars.engels@0x20.net =09

--ZJcv+A0YCCLh2VIg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGS2ApKc512sD3afgRAjfIAJ4+fNTpmCPOoLV2JsRBHYWU1zuKewCfRCb+
jdUbmJmtmCZ0L26SalG/lkQ=
=OnE4
-----END PGP SIGNATURE-----

--ZJcv+A0YCCLh2VIg--



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