Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 13:23:03 -0500
From:      Jim Weeks <jim@siteplus.com>
To:        "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   3.4-19991218-STABLE snapshot kernel build
Message-ID:  <385E7407.2191102E@siteplus.com>

next in thread | raw e-mail | index | archive | help
Has anyone besides me installed a fresh copy of 3.4-19991218-STABLE  or
3.4-19991219-STABLE from snapshots and rebuilt the kernel.  The installs
went without a hitch, but when trying to build a new kernel I got these
errors.

Script started on Sun Dec 19 17:28:14 1999
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

I messed with this all day sunday and was unable to resolve the
problem.  I needed to get the machine back on line, so I installed a
copy of 3.3-19991125-STABLE since I had installed this on another
machine with no problems.  I installed it, built the new kernel and it
is online :)

Is there something wrong with the kernel source on 3.4 snapshots?

Jim Weeks
jim@siteplus.com
http://siteplus.com



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?385E7407.2191102E>