Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 1999 18:34:05 -0500
From:      Jim Weeks <jim@siteplus.com>
To:        "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: 3.4-19991218-STABLE kernel build fails
Message-ID:  <385D6B6D.3F343EED@siteplus.com>
References:  <385CEE54.A644A358@siteplus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?385D6B6D.3F343EED>