From owner-freebsd-questions Tue Sep 14 16:35:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dry.atmos.washington.edu (dry.atmos.washington.edu [128.95.175.1]) by hub.freebsd.org (Postfix) with ESMTP id 3DE0514BC9 for ; Tue, 14 Sep 1999 16:35:09 -0700 (PDT) (envelope-from twilson@atmos.washington.edu) Received: from hello.atmos.washington.edu (hello.atmos.washington.edu [128.95.176.64]) by dry.atmos.washington.edu (8.9.1a/8.9.1) with ESMTP id QAA21197 for ; Tue, 14 Sep 1999 16:35:08 -0700 (PDT) Date: Tue, 14 Sep 1999 16:32:29 -0700 (PDT) From: twilson To: freebsd-questions@FreeBSD.ORG Subject: custom kernel config -make depend fails Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I think I fall into the newbie class here, so bare with me. I'm running 2.2.8 version of FreeBSD. I'm trying to make the GENERIC version of the kernel on my Pentium 166Mhz laptop NEC PC. The 'config GENERIC' works fine. I hop on over to the ../../compile/GENERIC directory and type 'make depend' I get the following error: .... MKDEP_CPP="cpp" ; export MKDEP_CPP ; mkdep -a -f .newdep -DLOCORE -nostdinc -I- -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/apm/apm_setup.s ../../i386/i386/exception.s ../../i386/i386/microtime.s ../../i386/i386/support.s ../../i386/i386/swtch.s ../../i386/i386/locore.s : illegal option -- n : illegal option -- o : illegal option -- s : illegal option -- t : illegal option -- d : illegal option -- i : illegal option -- n : illegal option -- c cpp: ../../i386/apm/apm_setup.s:177 Syntax error in #endif rm -f .depend mv -f .newdep .depend hello:/usr/src/sys/compile/GENERIC# So I check out apm_setup.s at line 177 and it looks like: #endif NAPM > 0 Should that be #endif /* NAPM > 0 */ ? I've re-downloaded the source using stand/sysinstall and the same problem. Is the 'nostdinc' error due to the shell I'm running (bash)? Any help would be greatly appreciated. Thanks. twilson@atmos.washington.edu Tom Wilson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message