Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 1998 09:05:43 -0500
From:      "Brian Ruth" <bruth@wmht.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   types.h/controller ahc broken?
Message-ID:  <199812281402.JAA20300@ernie.wmht.org>

next in thread | raw e-mail | index | archive | help
The following smp kernel compiles fine on 3.0-RELEASE but not 
under -CURRENT as of 8:30am. Below is the config file and the 
error output from a make depend after a make clean.

Kernel Config File:
machine         "i386"
cpu             "I686_CPU"

ident           ernie-smp
maxusers        32
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
options         NBUS=5
options         NCPU=2

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         MFS                     #Memory Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         "MD5"
options         QUOTA
config          kernel  root on da0

controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

controller      ahc0
controller      scbus0
device          da0
device          cd0     #Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" conflicts tty irq 1 vector scintr

device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4 vector sioin
tr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
device fxp0

pseudo-device   loop
pseudo-device   ether
pseudo-device   vn
pseudo-device   snp     3
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's

# This provides support for System V shared memory.
#
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

pseudo-device   bpfilter        4       #Berkeley packet filter

Make Depend:
gateway# make depend
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitializ
ed -Wformat -Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../
../../include  -DKERNEL -include opt_global.h ../../i386/i386/genassym.c
cc -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Ws
trict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized
-Wformat -Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../
../include  -DKERNEL -include opt_global.h genassym.o -o genassym
./genassym >assym.s
ym.s

rm -f param.c
cp ../../conf/param.c .
sh ../../kern/vnode_if.sh ../../kern/vnode_if.src
make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
Warning: Object directory not changed from original /big/FreeBSD/src/sys/compile
/ernie-smp
yacc -d ../../dev/aic7xxx/aicasm_gram.y
mv y.tab.c aicasm_gram.c
cc -O -pipe -I.   -c aicasm_gram.c
In file included from aicasm_gram.c:4:
/usr/include/stdlib.h:136: parse error before `arc4random'
/usr/include/stdlib.h:136: warning: data definition has no type or storage class
/usr/include/stdlib.h:173: parse error before `strtoq'
/usr/include/stdlib.h:173: warning: data definition has no type or storage class
/usr/include/stdlib.h:175: parse error before `strtouq'
/usr/include/stdlib.h:175: warning: data definition has no type or storage class
In file included from ../../dev/aic7xxx/aicasm_gram.y:37:
/usr/include/sys/types.h:60: parse error before `u_quad_t'
/usr/include/sys/types.h:60: warning: data definition has no type or storage cla
ss
/usr/inclu class
/usr/incluude/sys/types.h:61: parse error before `quad_t'
/usr/include/sys/types.h:61: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:62: parse error before `*'
/usr/include/sys/types.h:62: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:65: parse error before `daddr_t'
/usr/include/sys/types.h:65: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:66: parse error before `dev_t'
/usr/include/sys/types.h:66: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:67: parse error before `fixpt_t'
/usr/include/sys/types.h:67: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:68: parse error before `gid_t'
/usr/include/sys/types.h:68: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:69: parse error before `ino_t'
/usr/include/sys/types.h:69: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:71: parse error beforse error before `mode_t'
/usr/include/sys/types.h:71: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:72: parse error before `nlink_t'
/usr/include/sys/types.h:72: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:75: parse error before `rlim_t'
/usr/include/sys/types.h:75: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:79: parse error before `segsz_t'
/usr/include/sys/types.h:79: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:81: parse error before `swblk_t'
/usr/include/sys/types.h:81: warning: data definition has no type or storage cla
ss
/usr/include/sys/types.h:82: parse error before `uid_t'
/usr/include/sys/types.h:82: warning: data definition has no type or storage cla
ss
In file included from ../../dev/aic7xxx/aicasm_gram.y:41:
../../dev/aic7xxx/aicasm_symbol.h:54: parse error before `u_int8_t'
../../dev/aic7xxx/aicasm_symbol.h:54: warning: no semicolon at end of struct or
union
.uct or union
.../../dev/aic7xxx/aicasm_symbol.h:57: parse error before `valid_bitmask'
../../dev/aic7xxx/aicasm_symbol.h:57: warning: data definition has no type or st
orage class
../../dev/aic7xxx/aicasm_symbol.h:59: parse error before `}'
../../dev/aic7xxx/aicasm_symbol.h:65: parse error before `u_int8_t'
../../dev/aic7xxx/aicasm_symbol.h:65: warning: no semicolon at end of struct or
union
../../dev/aic7xxx/aicasm_symbol.h:69: parse error before `u_int8_t'
../../dev/aic7xxx/aicasm_symbol.h:69: warning: no semicolon at end of struct or
union
../../dev/aic7xxx/aicasm_symbol.h:71: parse error before `}'
In file included from ../../dev/aic7xxx/aicasm_gram.y:42:
../../dev/aic7xxx/sequencer.h:40: parse error before `u_int32_t'
../../dev/aic7xxx/sequencer.h:40: warning: no semicolon at end of struct or unio
n
../../dev/aic7xxx/sequencer.h:49: parse error before `u_int32_t'
../../dev/aic7xxx/sequencer.h:49: warning: no semicolon at end of struct or unio
n
../../dev/aic7xxx/sequencer.h:58: parse error before `u_int32_t'^M `u_int32_t'^M
../../dev/aic7xxx/sequencer.h:58: warning: no semicolon at end of struct or unio
n
../../dev/aic7xxx/sequencer.h:66: field `format1' has incomplete type
../../dev/aic7xxx/sequencer.h:67: field `format2' has incomplete type
../../dev/aic7xxx/sequencer.h:68: field `format3' has incomplete type
../../dev/aic7xxx/sequencer.h:69: parse error before `u_int8_t'
../../dev/aic7xxx/sequencer.h:69: warning: no semicolon at end of struct or unio
n
../../dev/aic7xxx/sequencer.h:70: warning: data definition has no type or storag
e class
../../dev/aic7xxx/sequencer.h:73: field `format' has incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `process_bitmask':
../../dev/aic7xxx/aicasm_gram.y:1000: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1005: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1010: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1015: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:101sm_gram.y:1017: dereferencing pointer to inco
mplete type
../../dev/aic7xxx/aicasm_gram.y:1018: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `initialize_symbol':
../../dev/aic7xxx/aicasm_gram.y:1035: sizeof applied to an incomplete type
../../dev/aic7xxx/aicasm_gram.y:1041: sizeof applied to an incomplete type
../../dev/aic7xxx/aicasm_gram.y:1056: sizeof applied to an incomplete type
../../dev/aic7xxx/aicasm_gram.y:1061: sizeof applied to an incomplete type
../../dev/aic7xxx/aicasm_gram.y:1062: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1067: sizeof applied to an incomplete type
../../dev/aic7xxx/aicasm_gram.y:1073: sizeof applied to an incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `format_1_instr':
../../dev/aic7xxx/aicasm_gram.y:1151: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1152: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1153: dereferencing pointer to incomplet to inco
mplete type
../../dev/aic7xxx/aicasm_gram.y:1153: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1155: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1155: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1157: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1160: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `format_2_instr':
../../dev/aic7xxx/aicasm_gram.y:1176: `u_int8_t' undeclared (first use this func
tion)
../../dev/aic7xxx/aicasm_gram.y:1176: (Each undeclared identifier is reported on
ly once
../../dev/aic7xxx/aicasm_gram.y:1176: for each function it appears in.)
../../dev/aic7xxx/aicasm_gram.y:1176: parse error before `shift_control'
../../dev/aic7xxx/aicasm_gram.y:1188: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1189: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1190: dereferencing pointer to incompter to inco
mplete type
../../dev/aic7xxx/aicasm_gram.y:1190: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1192: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1192: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1201: `shift_control' undeclared (first use this
 function)
../../dev/aic7xxx/aicasm_gram.y:1226: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `format_3_instr':
../../dev/aic7xxx/aicasm_gram.y:1260: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1261: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1262: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1262: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1264: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1267: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `test_readab `test_readable_symbol'
:
../../dev/aic7xxx/aicasm_gram.y:1277: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `test_writable_symbol':
../../dev/aic7xxx/aicasm_gram.y:1288: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `type_check':
../../dev/aic7xxx/aicasm_gram.y:1315: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1318: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1328: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:1334: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y: In function `yyparse':
../../dev/aic7xxx/aicasm_gram.y:216: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:217: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:219: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:220: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_graxxx/aicasm_gram.y:226: dereferencing pointer to inco
mplete type
../../dev/aic7xxx/aicasm_gram.y:227: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:230: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:258: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:265: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:272: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:423: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:427: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:431: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:461: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:462: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:478: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:479: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_c7xxx/aicasm_gram.y:509: dereferencing pointer to incom
plete type
../../dev/aic7xxx/aicasm_gram.y:533: dereferencing pointer to incomplete type
../../dev/aic7xxx/aicasm_gram.y:557: dereferencing pointer to incomplete type
*** Error code 1

Stop.
*** Error code 1

Stop.
---
Brian Ruth   bruth@wmht.org    (518)357-1700
WMHT Educational Telecommunications - MIS Department 
P.O. Box 17, Schenectady, NY 12301

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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