From owner-freebsd-stable Sun Dec 19 15:33:56 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail0.bna.bellsouth.net (mail0.bna.bellsouth.net [205.152.150.12]) by hub.freebsd.org (Postfix) with ESMTP id D372B14D0D for ; Sun, 19 Dec 1999 15:33:52 -0800 (PST) (envelope-from jim@siteplus.com) Received: from siteplus.com (host-216-78-83-89.cha.bellsouth.net [216.78.83.89]) by mail0.bna.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id SAA11865 for ; Sun, 19 Dec 1999 18:33:41 -0500 (EST) Message-ID: <385D6B6D.3F343EED@siteplus.com> Date: Sun, 19 Dec 1999 18:34:05 -0500 From: Jim Weeks X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i486) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-stable@FreeBSD.ORG" Subject: Re: 3.4-19991218-STABLE kernel build fails References: <385CEE54.A644A358@siteplus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi again, I didn't get any response to this post and have since tried numerous things to correct this error. I have now installed 3.4-19991219-STABLE from snapshots and receive a different error when I try building a new kernel. Everything seemed to install ok and make depend went well, but when doing make I get this error. sentinel# make cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../cam/scsi/scsi_cd.c In file included from ../../cam/scsi/scsi_cd.c:60: ../../sys/cdio.h:91: warning: useless keyword or type name in empty declaration ../../sys/cdio.h:91: warning: empty declaration ../../sys/cdio.h:91: parse error before `_' ../../sys/cdio.h:91: warning: no semicolon at end of struct or union ../../sys/cdio.h:92: warning: data definition has no type or storage class ../../sys/cdio.h:92: parse error before `}' ../../sys/cdio.h:96: syntax error before `{' ../../sys/cdio.h:98: warning: data definition has no type or storage class ../../sys/cdio.h:98: parse error before `osiricn' ../../sys/cdio.h:100: warning: data definition has no type or storage class ../../sys/cdio.h:100: parse error before `rscr_cn' ../../sys/cdio.h:100: warning: data definition has no type or storage class ../../sys/cdio.h:100: parse error before `t' ../../sys/cdio.h:101: warning: data definition has no type or storage class ../../sys/cdio.h:102: parse error before `/' ../../sys/cdio.h:103: warning: data definition has no type or storage class ../../sys/cdio.h:104: parse error before `}' ../../cam/scsi/scsi_cd.c: In function `cdioctl': ../../cam/scsi/scsi_cd.c:1966: sizeof applied to an incomplete type ../../cam/scsi/scsi_cd.c:1969: sizeof applied to an incomplete type ../../cam/scsi/scsi_cd.c:1991: dereferencing pointer to incomplete type ../../cam/scsi/scsi_cd.c:1992: dereferencing pointer to incomplete type ../../cam/scsi/scsi_cd.c:1993: dereferencing pointer to incomplete type ../../cam/scsi/scsi_cd.c:1994: dereferencing pointer to incomplete type ../../sys/libkern.h:57: warning: inlining failed in call to `min' ../../cam/scsi/scsi_cd.c:1995: warning: called from here *** Error code 1 Any suggestions would be appreciated. Jim Weeks wrote: > I installed fresh on an old machine yesterday and when I try to make the > new kernel I get this message, > > In file included from ../../msdosfs/msdosfs_denode.c:66: > ../../msdosfs/denode.h:282: macro '__P' used with too many (2) args > *** Error code 1 > > The only thing I have added to the system at this point is > /usr/src/sys/i386/isa/sio.c with two additional pnp entries. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message