From owner-freebsd-questions Sun Dec 1 4:51:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7268737B40B for ; Sun, 1 Dec 2002 04:51:09 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 478D943EE5 for ; Sun, 1 Dec 2002 04:51:05 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b204.otenet.gr [212.205.244.212]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gB1Cp0Ra022582 for ; Sun, 1 Dec 2002 14:51:02 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gB1Cp0fR009675 for ; Sun, 1 Dec 2002 14:51:00 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gB1CkvQC009496; Sun, 1 Dec 2002 14:46:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 1 Dec 2002 14:46:57 +0200 From: Giorgos Keramidas To: Eric Cresson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Make depend error Message-ID: <20021201124657.GC8520@gothmog.gr> References: <3DE9E586.5040802@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DE9E586.5040802@free.fr> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-12-01 11:33, Eric Cresson 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