Subject: Re: soc zfs: and self-referencing symlinks
To: None <tech-toolchain@netbsd.org, thorpej@shagadelic.org,>
From: Quentin Garnier <cube@cubidou.net>
List: tech-toolchain
Date: 08/16/2007 18:36:59
--BGXdj9oeR8eUT83d
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 16, 2007 at 12:16:46PM -0400, Oliver Gould wrote:
> Hello-
>=20
> I am able to build much of the ZFS userland at this point.  I have had
> some problems when using, for instance, the following Makefile, though:
>=20
>   # $FreeBSD: src/cddl/lib/libnvpair/Makefile,v 1.2 2007/04/16 21:20:25 r=
u Exp $
>  =20
>   .PATH: ${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair
>   .PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/nvpair
>  =20
>   LIB=3D	nvpair
>  =20
>   SRCS=3D	libnvpair.c \
>   	nvpair_alloc_system.c \
>   	nvpair_alloc_fixed.c \
>   	nvpair.c
>  =20
>   CFLAGS+=3D -I${.CURDIR}/../../../sys/compat/opensolaris
>   CFLAGS+=3D -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
>  =20
>   LINTFLAGS+=3D -I${.CURDIR}/../../../sys/compat/opensolaris
>   LINTFLAGS+=3D -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
>  =20
>   .include <bsd.lib.mk>
>=20
> This yields the following:
>   ...
>   libnvpair.a
>   libnvpair_p.a
>   libnvpair_pic.a
>   libnvpair.so.1 -> libnvpair.so.1
>   libnvpair.so -> libnvpair.so.1
>   ...
>=20
> Clearly the shared lib files are useless.  I didn't notice any obvious
> difference with other lib Makefiles.  What am I missing?

A shlib_version file?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--BGXdj9oeR8eUT83d
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQEVAwUBRsR9KtgoQloHrPnoAQKxUAf+KOVYu3NDYpLs/ZpjoQ8dMFBlnihD5n+u
V08DrrQnKYnlJ+yi41hCVq0WpLQbRZfqESkDacEoQNqQ75vejrvV7JOXgRtemcSD
S2KXF2ceVzXgCe5GlE0LAq7fcJRVixGOaivD8PDD5biltzpSsqG10r4vEE1UxRVD
jrtKisHENGOCp763I+x0vYwnJuwd+bdjt6tbvSXTWffKRP8BMOXqWh3n9wQ4qBMC
YEvh0ucPTMyAxoIZMeTB0D5vHUa5Plv0HKmeZDrse1285iTK1Once+WN/tb3O7Hk
rJArfkaQqiOrGeTGElnH2mmHLw11+Em36gFDnJi9Du1rrCoQPZs8mw==
=gfJv
-----END PGP SIGNATURE-----

--BGXdj9oeR8eUT83d--