[OpenAFS-port-freebsd] How to build for 4.x?

Alec Kloss alec-keyword-openafs.2891d8@SetFilePointer.com
Mon, 21 Apr 2003 09:47:01 -0500


--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Are you working on 1.2.8 or 1.3.x? =20

I have 1.2.8's kernel module compiled on 4.7.  Have you tried using=20
gmake instead of FreeBSD's make?  That makes all the difference for=20
me.  If you'd like, I can tar up my build tree and make it available=20
for you.  As I recall, I tweaked a few other spots to make the build
go, but I don't recall which ones.  It would take me a while to find=20
the time to go over everything I did in detail (busy week ahead).

On 2003-04-21 10:10, Jim Rees wrote:
> I've got the kernel module close to building for FreeBSD 5.0 but I have a
> problem that I hope someone here can help with.
>=20
> Obviously I don't want to break compatibility with FreeBSD 4.x, so I am
> having people test my code on 4.x.  But it doesn't build, never has (for =
me)
> and I don't understand how it is supposed to work.
>=20
> As far as I can tell, the problem is this rule in
> libafs/MakefileProto.FBSD.in:
>=20
> libafs:	$(LIBAFSNONFS)
>=20
> This rule gives a dependency but no build rule for libafs.  So the default
> make rule just does a "${CC} -o $* $<" which of course fails.
>=20
> OpenBSD had the same problem and I solved it by adding a null build rule:
>=20
> libafs:	$(LIBAFSNONFS)
> 	ls -l libafs.o
>=20
> Have I missed something?  How do people build the FreeBSD kernel module?
> _______________________________________________
> port-freebsd mailing list
> port-freebsd@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-freebsd

--=20
PGP key at http://SetFilePointer.com/keys/alec@SetFilePointer.com.asc
	http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA45A8AB3
Fingerprint:  7811 E9DD 9EC6 6CDB E090  D421 7F75 AB41 A45A 8AB3
Support your dictator --- believe your television.

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

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

iD8DBQE+pARlf3WrQaRairMRAo0rAJ4xZOwCiEYSDfeAdTOdtt9nNkHhvQCguNG1
oL2y74jGsc5X3OzxUfvP9hY=
=IKLa
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--