Subject: during 'make depend': aic7xxx_seq.h: no such file or directory
To: None <netbsd-help@NetBSD.ORG>
From: Robert Kennedy <robert@Theory.Stanford.EDU>
List: netbsd-help
Date: 03/07/1996 00:25:09
I'm working on building an i386 kernel, and after 'config ...' I cd to
the appropriate directory and type 'make depend'. The 'depend' target
does sensible-looking things for a while, then produces the message:
../../../../dev/ic/aic7xxx.c(2029): aic7xxx_seq.h: no such file or directory

It looks like there's a file (aic7xxx_seq.h) missing from the ksrc11
distribution, or like 'make depend' needs to invoke some rule to build
it. What's the problem?

In /usr/src/sys/dev/microcode/aic7xxx/Makefile.inc there is a rule to
build aic7xxx_seq.h, but it seems to do the build in that directory
(not where it can be seen from /usr/src/sys/dev/ic), and in any case
this rule doesn't seem to get invoked during 'make depend'.

What is the relationship between the .../dev/ic directory and the
.../dev/microcode/aic7xxx directory?

I don't have an aic7xxx controller on my system so I realize I don't
need to include this driver, and if I configure a kernel without it
this problem will go away. Still, I'd like to know what I'm doing
wrong. If I'm not doing anything wrong (as I suspect I'm not), I'd
like some advice on how to patch the 'depend:' target and any other
targets that will need patching for me to build a kernel properly.

Thanks for any info!

	-- Robert Kennedy