Subject: pmax/conf.c broken
To: None <mellon@vix.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 04/20/1995 16:26:42
I can't compile the latest conf.c:

I'd guess this is because cdev_pm_init() is broken?

cc -c -O2 -I. -I../../../../arch -I../../../.. -I../../../../sys -DCURRENT -DGPROF -DDS5000_25 -DDS5000_100 -DDS5000_240 -DDS5000 -DDS3100 -DCOMPAT_ULTRIX -DGATEWAY -DTCP_COMPAT_42 -DINET -DKERNFS -DLOFS -DNFSSERVER -DNFSCLIENT -DMFS -DQUOTA -DFFS -DFIFO -DNKMEMCLUSTERS=1024 -DCOMPAT_43 -DDEBUG -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -D_KERNEL -Dpmax -D__NetBSD__  -pg ../../../../arch/pmax/pmax/conf.c
../../../../arch/pmax/pmax/conf.c:142: parse error before `)'
../../../../arch/pmax/pmax/conf.c:142: initializer element for `cdevsw.d_tty' is not constant
../../../../arch/pmax/pmax/conf.c:142: parse error before `nullop'
../../../../arch/pmax/pmax/conf.c:142: warning: initialization from incompatible pointer type
../../../../arch/pmax/pmax/conf.c:147: parse error before `)'
../../../../arch/pmax/pmax/conf.c:147: initializer element for `cdevsw.d_tty' is not constant
../../../../arch/pmax/pmax/conf.c:147: parse error before `nullop'
../../../../arch/pmax/pmax/conf.c:147: warning: initialization from incompatible pointer type
../../../../arch/pmax/pmax/conf.c:148: parse error before `)'
../../../../arch/pmax/pmax/conf.c:148: initializer element for `cdevsw.d_tty' is not constant
../../../../arch/pmax/pmax/conf.c:148: parse error before `nullop'
../../../../arch/pmax/pmax/conf.c:148: warning: initialization from incompatible pointer type
../../../../arch/pmax/pmax/conf.c:152: parse error before `)'
../../../../arch/pmax/pmax/conf.c:152: initializer element for `cdevsw.d_tty' is not constant
../../../../arch/pmax/pmax/conf.c:152: parse error before `nullop'
../../../../arch/pmax/pmax/conf.c:152: warning: initialization from incompatible pointer type