On 2002-12-01 11:33, Eric Cresson <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to