Buildworld Fails RELENG_7

Dave Uhring duhring at charter.net
Mon May 19 18:36:20 UTC 2008


On Mon, May 19, 2008 at 11:02:01AM -0700, David Wolfskill wrote:
> On Mon, May 19, 2008 at 12:53:58PM -0500, Dave Uhring wrote:
> > 
> > I posted the relevant output from "make buildworld".  Copying the 3 new header
> > files from /usr/src/sys/sys to /usr/include/sys solved my original problem.
> 
> s/solved/circumvented/
 
:)  Whatever, libc does build now.

> freebeast(8.0-C)[52] ls -l usr/src/contrib/groff/src/devices/grodvi/*.h
> ls: No match.
> freebeast(8.0-C)[53] grep '#include "' usr/src/contrib/groff/src/devices/grodvi/dvi.cpp 
> #include "driver.h"
> #include "nonposix.h"
> #include "paper.h"
> freebeast(8.0-C)[54] 
> 
> The compilation of dvi.cpp uses
> "-I/usr/src/gnu/usr.bin/groff/src/devices/grodvi/../../../../../../contrib/groff/src/include
> -I/usr/src/gnu/usr.bin/groff/src/devices/grodvi/../../../src/include"
> (among other things); I expect you will find the needed header files
> in those directories.

If a -I/some/directory is used as a CFLAG then the *include directive must read

#include <driver.h>, *not* #include "driver.h".  The latter demands that the
header file be in the same directory as the source file.



More information about the freebsd-stable mailing list