Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2021 12:53:07 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        current@freebsd.org
Subject:   compile failure in /usr/src/stand/libsa
Message-ID:  <20210910105307.6fef0726@ernst.home>

next in thread | raw e-mail | index | archive | help
So, a new problem with buildworld in HEAD.

Building in /usr/src/stand/libsa fails because dosfs.c, ufs.c and
geli/gelidev.c can't find disk.h.  But disk.h is located in ../common.

I had to modify all three of these files to get the compile to finish
by using ../common/disk.h.

In /usr/src/stand/defs.mk I find LDRSRC= ${BOOTSRC}/common and defs.mk
is included in /usr/src/stand/Makefile.inc.  So it seems like the C-files
under libsa should find the includes.

However, I'm not sure whether LDSRC is the correct value to be using
in defs.mk, because I'm not sure what it means.

I saw this error on two different machines with the latst HEAD tree.

-- 
Gary Jennejohn



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