Subject: Re: Installation Hell^Hp
To: None <muc-lists-netbsd-help@moderators.muc.de>
From: Michael Core <520079546242-0001@t-online.de>
List: netbsd-help
Date: 05/17/2002 21:21:28
Brian.Rose@icn.siemens.com (Rose, Brian) wrote:

> param.c:75: config_file.h: No such file or directory

config_file.h should contain your config (e.g. GENERIC or MYKERNEL) as a
comment(?) but it may be empty. AFAIK this file isn't created
automatically. Don't ask me why. 

> I simply copied GENERIC into MYKERNEL, did 'config MYKERNEL', went to
> the compile/MYKERNEL directory and did 'make depend'. Why was this
> file not generated? Did I do anything wrong?

AFAIK you did nothing wrong.

> I tried creating a blank file, config_file.h in the same folder as
> param.c(because it is #include"config_file.h") but that still did not
> work. Should it be elsewhere? 

Put config_file.h into "/sys/arch/i386/compile/MYKERNEL/".

> I also get a bunch of warnings about redefines, but I can deal with
> those later.

Do you talk about faith.h? I've just commented out every redefinement in
it. The problem is, at first some there is "#define INET" and later
there's "#define INET 1" which is equal aslong as you use it like "#if
defined(INET)".

> Anyone have any ideas on how to fix this? Are there differences
> between 1.5.2 and -current that would cause this problem?

Well, you probably have to comment out "options I686_CPU" and maybe
"apm0 at mainbus0" if there are no actual fixes. If you want to use
"option I686_CPU" you have to rebuild gas in
"/usr/src/gnu/usr.bin/gas.new/". And you SHOULD rebuild userland after
you have booted from current. Don't ask me how, I have no fsck'ing idea.

HTH