Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 1997 08:05:48 -0800 (PST)
From:      ji@research.att.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/4893: FreeBSD-stable kernel will not compile
Message-ID:  <199710301605.IAA16867@hub.freebsd.org>
Resent-Message-ID: <199710301610.IAA17133@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4893
>Category:       kern
>Synopsis:       FreeBSD-stable kernel will not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 30 08:10:01 PST 1997
>Last-Modified:
>Originator:     John Ioannidis
>Organization:
AT&T Labs Research
>Release:        2.2.2-RELEASE
>Environment:
FreeBSD elf.tla.org 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Sun Oct 12 16:21:34 EDT 1997     root@elf.tla.org:/usr/src/sys/compile/ELF  i386

>Description:
I mirrored the FreeBSD-stable kernel sources from ftp.cdrom.com; 
I proceeded to config the GENERIC kernel provided, and when I changed
to compile/GENERIC and typed "make depend", this is what I got:

elf$ make depend
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I- -I. -I../.. -I/usr/include -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -DMAXUSERS=10 -UKERNEL ../../i386/i386/genassym.c
In file included from ../../i386/i386/genassym.c:43:
../../sys/proc.h:176: field `p_md' has incomplete type
In file included from ../../i386/i386/genassym.c:67:
../../sys/user.h:101: field `u_pcb' has incomplete type
../../sys/user.h:111: field `u_md' has incomplete type
../../i386/i386/genassym.c: In function `main':
../../i386/i386/genassym.c:121: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:122: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:123: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:124: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:125: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:126: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:127: dereferencing pointer to incomplete type
../../i386/i386/genassym.c:128: dereferencing pointer to incomplete type
[...and so on...]

I evencompiled the -stable version of /usr/sbin/config, and the problem
persists. 

Help!
>How-To-Repeat:
	
>Fix:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710301605.IAA16867>