Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 16:32:29 -0700 (PDT)
From:      twilson <twilson@atmos.washington.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   custom kernel config -make depend fails
Message-ID:  <Pine.BSF.4.05.9909141617510.169-100000@hello.atmos.washington.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9909141617510.169-100000>