Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2002 14:46:57 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Eric Cresson <eric.cresson@free.fr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Make depend error
Message-ID:  <20021201124657.GC8520@gothmog.gr>
In-Reply-To: <3DE9E586.5040802@free.fr>
References:  <3DE9E586.5040802@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-12-01 11:33, Eric Cresson <eric.cresson@free.fr> wrote:
> I tried to compile a new kernel.  The "make depend" compile with
> error messages.  Can you help me ?
>
> I attach the kernel config file and sysout file.

Nice :)

The kernel configuration seems ok.  Although I'd probably rename it to
something different, since it's not the same as revision 1.246.2.48 of
GENERIC anymore.  Some stuff has been commented out from the original
stuff that a GENERIC kernel includes.

> #
> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
> [...]
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $

> SERVER# /usr/sbin/config KERNFW
> Don't forget to do a ``make depend''
> Kernel build directory is ../../compile/KERNFW
> SERVER# cd ../../compile/KERNFW
> SERVER# make depend
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c
> sh ../../kern/genassym.sh genassym.o > assym.s
> rm -f .newdep
> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
> ../../net/if_mib.c:147: unterminated macro call
> ../../net/if_mib.c:148: unterminated string or character constant
> ../../net/if_mib.c:1: possible real start of unterminated constant
> ../../net/if_mib.c:148: macro `SYSCTL_OID' used with too many (3603) args
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/sys/compile/KERNFW.

Hmmm, have you CVSup'ed recently?  If yes, did it finish correctly?
What revision does the following print:

	# ident /usr/src/sys/net/if_mib.c

- Giorgos

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?20021201124657.GC8520>